Green dominates most plant foliage because of chlorophyll, the pigment central to photosynthesis, but plants also produce a wide range of other colours through carotenoids, anthocyanins and other pigment families, especially in flowers, fruits and seasonal leaf colour.

Green chlorophyll is broken down and reabsorbed by the tree before the leaf falls, unmasking carotenoid and tannin pigments that were in the leaf all along — colours the leaf had all summer, just hidden.
This leaf was scanned flat against a plain background for clarity; the pale scanner background itself was excluded from this palette."Autumn American Sycamore Leaf" by Ninjatacoshell, CC BY-SA 3.0, via Wikimedia Commons
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 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.
A living organism's own chemistry changes with the season — most visibly when a tree stops producing green chlorophyll in autumn, unmasking the yellow, orange and red pigments that were in the leaf all along.
Chlorophyll absorbs red and blue light for photosynthesis while reflecting green light, which is why healthy plant leaves generally appear green.
Leaves · confidence: high
Carotenoid pigments produce yellow, orange and some red colouration in plants, and are present in leaves year-round but are usually masked by the stronger green of chlorophyll.
Leaves · confidence: high
Anthocyanin pigments produce red, purple and blue colouration in many flowers, fruits and autumn leaves, and their production can be influenced by sunlight, temperature and sugar levels.
Flowers · confidence: high
Some plant pigmentation, particularly in flowers, is understood to serve UV protection or pollinator attraction, though the specific adaptive purpose is not established for every pigment in every species.
Flowers · confidence: medium
Purpose varies by species and is not always conclusively established.
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.