Fact 1: Courtship is behavior that is intended to attract a mate. 
Fact 2: Almost all animals display colors to attract a mate or to scare off a predator.
Courtship can be manifested by displays of color.