I think they show how active you're in the chatbox at that moment. Green means you're currently active and posting. Yellow means you haven't posted in a while but apparently you're still there. And red means you haven't posted in a long time but you keep the page open.