Probably able to peck and able to fan out the feathers (if its a guy) to look bigger and more intimidating. Color usually means danger in the wild.
Some defense mechanisms of sharks are its fear inspiring looks, its thousands of teeth, and its body shape making it easy for sharks to move around in water very quickly and agilely.