When QQ searches for friends, what does it mean that the other person's head is colored and gray?

When using the computer version of QQ to find friends, Tencent divides the avatar into color and gray in order to let users distinguish whether friends are online or not.

1. If the friend is currently online/away /Q I/busy, the avatar is colored.

2. If the current friend is offline or invisible, the avatar is gray.