Flamingos get their color from the carotenoid pigments in the foods that they eat, like algae and shrimp.
Once their feathers shed, they quickly lose their color.