Scientists found that colour production in birds is not just cosmetic but may be part of the body’s internal defence system.