Flowers display different colors primarily due to special compounds called pigments. The main types include:

  • Anthocyanins – responsible for red, purple, and blue colors
  • Carotenoids – create yellow and orange hues
  • Chlorophyll – produces green coloration
  • Flavonoids – contribute to yellow shades

These pigments serve important biological functions, particularly in attracting pollinators like bees, butterflies, and birds. The color of a flower can also be influenced by factors such as soil pH, temperature, and the plant’s genetics.