Logged In: NO

The following rules are applied, in this order, to determine the icon colour:

If at least one build is red, the icon is red
If no builds are red but at least one is yellow, the icon is yellow
If no build are red or yellow, but least one is grey, the icon is grey
If all the builds are green, the icon is green