The green pigment clocks out
A leaf's green comes from chlorophyll, the pigment that captures sunlight for photosynthesis. Chlorophyll is expensive stuff for a tree to maintain — it breaks down constantly in sunlight and must be rebuilt — and it contains precious nitrogen and magnesium the tree cannot afford to throw away. As autumn days shorten, the tree stops replacing it, withdraws the useful ingredients into its branches, and lets the green fade.
What surprises many people is what happens next: the yellows and oranges were there all along. Pigments called carotenoids — the same family that colours carrots — sit in the leaf all summer, masked by the stronger green. When the chlorophyll goes, they are simply unmasked.
Reds are made fresh
The reds and purples of maples and oaks are a different story. They come from anthocyanins, pigments the leaf manufactures in autumn itself, from sugars trapped in the leaf as its veins seal off. Why spend energy painting a dying leaf is still debated; the leading idea is that anthocyanins act as a sunscreen, protecting the leaf while the tree finishes salvaging nutrients from it.
The browns come last and plainest: tannins and other waste products left behind in the dead leaf, the colours of the oak's final stage before the leaf falls.
Weather writes the forecast
Because the pigments respond to conditions, autumn colour is weather made visible. Bright sunny days with cold — but not freezing — nights trap the most sugar in the leaves and produce the strongest reds; a warm, cloudy autumn gives duller displays, and an early hard frost can kill leaves before the show develops.
Before the leaf drops, the tree recovers a large share of its nitrogen and phosphorus — an economy learned over millions of years. Evergreens opt out of the whole cycle, keeping tough, wax-coated needles that photosynthesise slowly through winter instead.

