Science

How the eye and brain make colour

Graph of the three human cone types and how strongly each responds across the visible spectrum
Santiago Ramón y Cajal's line drawing of the layers of nerve cells in the retina
Labelled cross section of the human eye showing the lens, retina and optic nerve
Portrait of the physicist Hermann von Helmholtz seated in his study
Portrait of the scientist Thomas Young

Colour isn't in the paint. It's in your head. A guide to rods, cones, colour constancy, Josef Albers, magenta, and why my gran has been watching a different game of snooker to the rest of us for forty years.

The blue isn't in the tube

Pick up a tube of ultramarine. Look at it. Blue, right?

Wrong. Well, not wrong. But not right either. Get comfortable.

What's actually coming at you is electromagnetic radiation. Same family as radio waves and X-rays, which is a fun thing to remember next time you're painting a nice sky. Your eyes can only pick up a tiny slice of it, roughly 380 to 750 nanometres in wavelength.1 The pigment in that tube eats most of the light that hits it and spits back mostly the shorter wavelengths.

And that's it. That's all the paint does. Those wavelengths are just numbers. Measurable, physical, deeply boring numbers. Not one of them turns up with a little sticker on it saying "blue".

The blue gets added by you. Your eyes and brain take a pile of numbers and turn them into ultramarine, which is why vision scientists say colour is a property of perception, not of light or objects.2

So the blue isn't in the paint. It's in your head. You've been doing it your whole life and nobody told you.

Labelled cross section of the human eye showing the lens, retina and optic nerve
Cross section of the human eye, Rhcastilhos and Jmarchn, 2007. CC BY-SA 3.0, via Wikimedia Commons

There's brain in your eyeballs

The light lands on the retina at the back of your eye. This is where it gets properly weird.

When you were an embryo, your retina grew out of your brain. A bit called the diencephalon, specifically. Anatomists count the retina as part of the central nervous system.3 Which means the first stage of seeing colour happens in tissue that is, quite literally, brain.

You have brain in your eyeballs. Two little patches of it. Looking out. Have a nice day.

Santiago Ramón y Cajal's line drawing of the layers of nerve cells in the retina
Drawing of the layers of the retina, Santiago Ramón y Cajal. Wellcome Collection. CC BY 4.0, via Wikimedia Commons

Those brain patches are packed with two kinds of light-catching cell.

Rods are the night shift. Super sensitive, brilliant in the dark, completely useless at colour.3 That's why a garden by moonlight looks like an old black and white film. The rods have taken over, and rods don't do colour. They never have. They're not sorry.

Cones are the day shift, and they're the ones doing colour. Most people have three types. The S cones peak at about 420 nanometres, the M cones at about 530 and the L cones at about 560.4 Everyone calls them the blue, green and red cones. Lovely tidy story, one problem. The L and M curves overlap massively, and the "red" cone actually peaks in yellow-green.4 The red cone isn't red. Nobody tell it.

There are loads of these things. Christine Curcio and colleagues counted in 1990 and put the average human retina at around 92 million rods and 4.6 million cones.56 That's about twenty rods for every cone. Colour is outnumbered in there. Badly.

Every single cone is an idiot

Bad news about your cones. On their own, they're idiots.

A cone can tell you how much light it's caught. That's it. That's the whole job. It has absolutely no idea what colour that light was. A dim light at its favourite wavelength and a bright light at one it likes less can produce exactly the same signal. Same output. The cone can't tell the difference and doesn't care.

The physiologist William Rushton called this the principle of univariance, and described a receptor's output as depending on "its quantum catch, but not upon what quanta are caught".7 Which is a very posh way of saying the cone counts everything that comes in and has no idea what any of it was.

It's a nightclub bouncer with a clicker. Two hundred people through the door tonight. Who were they? No idea. Clicked them though.

Graph of the three human cone types and how strongly each responds across the visible spectrum
Response curves of the human S, M and L cones, Vanessaezekowitz and BenRG, 2007, from data by Stockman, MacLeod and Johnson. CC BY 3.0, via Wikimedia Commons

So how do you get colour out of a load of idiots? You make them argue.

In 1802 Thomas Young suggested that three kinds of receptor could explain colour vision. Hermann von Helmholtz picked that up and ran with it in the 1850s.8 Then Ewald Hering came along and noticed something odd. Some colours never mix. Nobody has ever seen a reddish green. Nobody has ever seen a yellowish blue. Go on, try to imagine one. We'll wait.

Exactly. So Hering reckoned vision must work in opposing pairs.8

The best bit is they were both right, just about different stages. Everybody wins. Nobody has to apologise. Science should end like that more often.

The cones work in threes. Then the nerve cells behind them take the cone signals and set them against each other in opponent channels. One pits L against M (roughly red against green). One pits S against L and M together (roughly blue against yellow). One just tracks light against dark.8 The arguing starts right there in the retina, in the bipolar and ganglion cells, carries on through the lateral geniculate nucleus of the thalamus, and gets properly sorted out in the visual cortex.89

So every colour you've ever seen is a load of cells that individually know nothing, comparing notes very, very fast. Most of the time it works perfectly and you never think about it.

Most of the time.

Gran and the snooker

So here's why I got into an argument with my gran about the colour of a snooker ball.

Some context. Gran has watched snooker every afternoon for about forty years. She has a chair. Nobody else sits in the chair. She has strong views on the players' waistcoats.

So we're watching. Bloke in a waistcoat pots a red. Gran goes, "Ooh, lovely green."

I said, "That was a red, Gran."

She said, "I've been watching snooker for forty years. I think I know a green."

I said there were fifteen reds on the table and one green, and he'd just potted his sixth in a row.

She said, "Well, he's very good."

We paused the telly. Mum came in. Mum said red. Gran said Mum had never understood snooker. Mum said she'd been watching it with her since 1986. Gran said, "And you still don't understand it." The dog left the room.

So that's how we found out she was colour blind.

It also meant that for forty years Gran had been watching a completely different, much more confusing game than the rest of us. And enjoying it more than any of us.

What Gran actually sees

To be fair to Gran, she isn't actually blind to colour. She'd want me to say that. Loudly.

The most common types of colour vision deficiency are red-green ones. The L or M cones are missing or shifted, so that red-versus-green argument from earlier barely happens.13 Without it, reds, greens and browns all start sliding into the same muddy family. Red ball on green baize? Same-ish. Fifteen reds and a green? Sixteen greens, basically. Good luck.

Gran is also a statistical rarity, which she was thrilled to find out. The genes behind the common red-green types sit on the X chromosome. Men have one X, so one copy does it. Women have two, so they need it on both. In people of Northern European descent that works out at up to about 8% of men but only around 0.5% of women.13

One in two hundred. Gran had it put on a mug.

Your brain is secretly editing everything

Your brain doesn't just compare cones. It also edits the lighting. Constantly. Without asking.

Hold up a sheet of white paper at noon. White. Under a warm kitchen bulb. Still white. At dusk. Still white. The light actually bouncing off that paper into your eye is wildly different each time, but your brain looks at it and goes, nah, that's white, I know it's white, and that's what you see. It's called colour constancy. Your brain is running a filter on your entire life.

In the 1970s Edwin Land, the man who founded Polaroid, showed this off with patchwork displays he called "Mondrians". He changed the light on them drastically. The patches refused to change colour.2 Your brain was having none of it.

Brain scans and studies of people with brain damage point to an area of the cortex called V4 as important for this. Damage there can leave people seeing the world with no colour at all.1011

And it's not just the light. Colours bully each other.

Josef Albers studied and then taught at the Bauhaus, moved to Black Mountain College in North Carolina after the school was shut down in 1933, and ran the design department at Yale from 1950.12 In 1963 he published Interaction of Color, a book of exercises that basically proves you can't trust your own eyes. One colour looks like two different colours on different backgrounds. Two different colours get made to look exactly the same.12 It is a deeply rude book and every painter should own it.

The lesson for painters: you put paint on the canvas. That's the only bit you control. What people actually see is whatever their brain builds out of your paint, the colours next to it and the light in the room. You're in charge of about a third of your own painting. Sorry again.

Magenta isn't in the rainbow

Last thing. And it's the best one.

Every colour in the rainbow lines up with a single wavelength of light. Red has one. Green has one. Blue has one.

Magenta doesn't. There is no magenta wavelength. Go and look for it. It isn't there.

You see magenta when light from both ends of the spectrum turns up at the same time, firing your L and S cones while your M cones sit there doing nothing.1 That combination doesn't match anything in the rainbow. So your brain, instead of throwing an error, just invents a colour for it, and closes the colour wheel right where the actual spectrum runs out.1

Your brain made up a colour. Then it let you believe it was real.

Which is the best proof there is that colour isn't out there in the world. It's something you do.

We showed Gran some magenta. She said it was a lovely green.


  1. Omni Calculator, Is magenta a real color?.
  2. Edwin H. Land, The retinex theory of color vision, Scientific American 237 (6), 1977.
  3. Wikipedia, Retina.
  4. Wikipedia, Cone cell.
  5. Christine A. Curcio, Kenneth R. Sloan, Robert E. Kalina and Anita E. Hendrickson, Human photoreceptor topography, Journal of Comparative Neurology 292 (4), 1990.
  6. Frontiers in Cell and Developmental Biology, Patterning and development of photoreceptors in the human retina, 2022.
  7. Wikipedia, Principle of univariance.
  8. Wikipedia, Opponent process.
  9. Kathy T. Mullen, Colour vision II: the post-receptoral basis of colour vision and acquired colour vision deficiencies, McGill University, Department of Ophthalmology, 2017.
  10. Wikipedia, Color constancy.
  11. Semir Zeki, Salvatore Aglioti, Declan McKeefry and Giovanni Berlucchi, The neurological basis of conscious color perception in a blind patient, Proceedings of the National Academy of Sciences, 1999.
  12. Whitney Museum of American Art, Josef Albers.
  13. Wikipedia, Color blindness.