What determines the colour of the egg?