Flamingos get their color by eating certain types of crustac…

Flamingos get their color by eating certain types of crustaceans.  Some flamingos aren’t very good at finding food and are white, and some have adaptations that make finding food easy and they are red.  Pink males find an intermediate amount of food and have lots of time to court females, so they are deemed most attractive by females.  This scenario describes what selection type?