Flower colour is closely tied to pollinator attraction: different pollinators are drawn to different colours and patterns, and many flowers have evolved pigmentation that stands out against green foliage under the specific vision of their typical pollinators.

A common misconception is that pink and blue hydrangeas are different varieties. Often they are the same plant: soil acidity changes how much aluminium the roots can absorb, and aluminium uptake is what shifts the pigment from pink to blue.
These are the same species, photographed together specifically because the colour difference is soil chemistry, not genetics or a different cultivar."Hydrangea macrophylla pink and blue" by Gustamons, CC0, via Wikimedia Commons
Unlike the sky's or a butterfly wing's structural colour, poppy red comes from anthocyanin pigment in the petals — a genuinely different mechanism producing a superficially similar bright, saturated colour.
Poppy petals are thin and translucent, so their apparent red shifts noticeably with backlighting; this photograph was taken in flat, even daylight."Close up red wild poppy flowers" by Dusan Bicanski, public domain, via Wikimedia CommonsA molecule in the tissue absorbs some wavelengths of light and reflects others — the reflected wavelengths are the colour seen. Chlorophyll, carotenoids and melanin are the most common examples.
Common misconception: Not every vivid natural colour is a pigment — several of the most striking blues and greens in animals are structural colour instead, which looks similar but works completely differently.
Bee-pollinated flowers are commonly blue, purple or yellow, colours that stand out well under bee colour vision, which is shifted toward the ultraviolet relative to human vision.
Flowers · confidence: medium
Flowers pollinated primarily by hummingbirds are frequently red or orange, colours hummingbirds detect readily and that are less visible to some competing insect pollinators.
Flowers · confidence: medium
Many flowers display ultraviolet patterns invisible to humans but visible to bees, sometimes called 'nectar guides', which mark the path toward nectar and pollen.
Flowers · confidence: medium
Flower colour is produced mainly by carotenoid pigments (yellows, oranges) and anthocyanin pigments (reds, purples, blues), often in combination, alongside the underlying structure of the petal.
Flowers · confidence: high
Frequency and rarity claims above are scoped to a specific domain, geography or taxonomic group — none are presented as a single universal ranking. See methodology.