How Many Colors in This Image? Here’s The Science Behind The Illusion Dividing Twitter

Now that the bin-fire that was 2020 is in our rear view mirror, social media is making a return to serious discussions that truly matter. Like how many colors a thing has. Again.

Earlier this month, a classic optical illusion was posted on Twitter with the question “How many colors do you see?” The poster saw three. 

Others replied with numbers as high as 17. And tens of thousands of comments followed in heated debate on what the ‘true’ figure must be.

We here at ScienceAlert don’t have a strong opinion on how many distinct bands are in the image (it’s 11, right?). But we can help provide some insight into what’s likely going on.

While it’s hard to say for sure, the phenomenon at work is most probably due to an effect first described around a century and half ago by the Austrian physicist Ernst Mach, the same scientist who lent his name to the unit comparing an object’s speed with the speed of sound.

Only in this instance, Mach’s interest had less to do with speed, and more with sight. While working as a professor of mathematics and physics at the University of Graz in the 1860s, he developed a deep interest in optics and acoustics.

In 1865 he took interest in an illusion similar to the one we’re all marvelling at now – similar colors of slightly contrasting shades becoming easily distinguishable when they touch, but harder to tell apart when separated.

Mach’s understanding was that something weird was going on inside the eyeball, specifically within the photosensitive tissue making up the retina. Later these shaded stripes would become known as Mach Bands in his honour.

Remarkably, his speculations were pretty bang-on. Research using better technology than Mach ever hoped to have access to has since confirmed the mechanics behind this weird trick-of-the-eye as a retinal behavior called lateral inhibition.

Here’s the 101: your retina is a bit like the screen at the cinema, capturing light projected through the pupil. This screen is covered in receptors, some of which will react more vigorously under brighter light and send a barrage of signals to the brain.

If we imagine two cells sending two very similar signals to the brain, we might simply assume they’re the same shade. Our brain loves shortcuts, and in a busy world it really doesn’t have time for splitting hairs.

But nature has evolved a clever trick to help our brain distinguish patterns more easily among similar shades. Whenever an individual light-sensitive cell sends a signal, it tells its immediate neighbours to shush.

This competition makes little difference among groups of cells all shouting and shushing as loudly as one another.

But when a quieter group of cells, reacting to a darker shade, sits right next to loud cells, this inhibitory influence over cells right on the boundary forces them to respond in a unique way, effectively enhancing the difference between the shades.

diagram inhibition receptors(ScienceAlert)

The diagram above might help understand what’s happening. Brighter light causes receptors to trigger its corresponding nerve cell more intensely. At the same time, each light-sensitive cell dampens the nerves of its neighbours. 

The result are nerves on the border between different shades sending signals that enhance the difference, providing a clear boundary signal for your brain to pick up. 

This ability plays a part in a variety of optical illusions, including a maddening ‘scintillating grid‘ of dots you can never quite set your focus on.

While lateral inhibition explains why our eyes can tell similar shades apart better when they’re side-by-side, it doesn’t quite explain why some of us can’t tell the difference between colors of barely contrasting brightness, such as in this illusion.

Inhibitory influences in our cells might be something we all experience to a various extent, but it’s also unlikely to be the only factor telling our brain how to interpret an image. Many of which will be unique to our eyes, brains, computer screens, and surrounding environments.

Surrounding light sources, differences in the brightness of our screens and monitors, and even the precise cellular make-up of our retina will all vary. Our brains will also add a level of correction in their own unique way depending on their experience and hard wiring.

Given so many variables, it’s to be expected we won’t all agree on exactly where one shade of pink stops and the next starts.

This is all fun and games on Twitter, but understanding more about how our retinas enhance differences in the shades that fall on them can help us find ways to improve our vision.

Now, keep in mind, we don’t lay claim to being experts in optics here at ScienceAlert. This is all speculation from one science writer who happens to have a deep love for the psychology of illusions.

But we do know that beyond questions of how many colors (or, more accurately, hues, tones, tints, and shades) are in the rectangle, there is some fascinating biology going on that can tell us a great deal about what we have in common.