Are There 6 or 7 Colors in the Rainbow?

The rainbow is a continuous spectrum of light, not a set of neatly separated stripes, so the honest answer is that it contains neither six nor seven colors. It contains millions of distinguishable hues blending seamlessly into one another. The familiar seven-color list (red, orange, yellow, green, blue, indigo, violet) exists because Isaac Newton decided, around 1665, that seven was the right number. That choice had less to do with what his eyes could see and more to do with a musical analogy he found elegant. Understanding why we still argue about six versus seven reveals something fascinating about the intersection of physics, biology, culture, and language.

Why Newton Picked Seven

When Newton first directed sunlight through a glass prism and watched the resulting band of color spread across a wall, he did not immediately land on seven. Early in his experiments, he seems to have described five main colors. But Newton was deeply interested in harmony and proportion, and he became convinced that the visible spectrum should map onto the seven notes of the Western musical scale. He added orange and indigo to bring the count up to seven, treating the rainbow as a kind of visual octave.

This was not arbitrary nonsense. Newton was working within a philosophical tradition that saw deep connections between music, mathematics, and the natural world. But the decision to call out seven distinct bands was shaped by that theoretical commitment, not purely by observation.1The Scientist. Newton’s Color Theory, ca. 1665 Other observers looking at the same prismatic spectrum could reasonably identify five, six, eight, or more bands depending on how finely they wanted to split the gradient. The rainbow itself does not come pre-labeled.

What the Rainbow Actually Is

Physically, a rainbow is produced when sunlight enters water droplets, refracts, reflects off the back surface, and refracts again on exit. Different wavelengths of light bend at slightly different angles, so the white light fans out into its component wavelengths. The result is a smooth, unbroken gradient running from long wavelengths (around 700 nanometers, which we see as red) down to short wavelengths (around 380 nanometers, which we see as violet).

There are no gaps, no borders, no lines between one color and the next. The transition from yellow to green is as gradual as the transition from cool morning air to warm afternoon air. Asking “how many colors are in the rainbow” is a bit like asking “how many temperatures are there between freezing and boiling.” The answer depends entirely on how many labels you choose to apply.

The Trouble with Indigo

The biggest point of contention is almost always indigo. Most people, when asked to point to indigo in a rainbow, either confuse it with blue or with violet. Color scientists have noted for decades that indigo occupies an extremely narrow slice of the spectrum, roughly between 420 and 450 nanometers. To many modern observers, it simply looks like a slightly darker blue or a blue-violet that does not deserve its own category.

This is why many textbooks, especially outside the United States, teach six rainbow colors rather than seven, dropping indigo entirely. The acronym becomes ROYGBV instead of ROYGBIV. Neither version is wrong. Both are human-imposed category systems layered onto a continuous phenomenon. The six-color version arguably better reflects what most people can readily distinguish by eye, while the seven-color version is a cultural tradition that has survived for over 350 years because of Newton’s enormous influence on Western science education.

How Your Eyes Turn a Spectrum into Colors

Your retina contains three types of cone cells, each sensitive to a different range of wavelengths: roughly long (peaking in the red-yellow range), medium (peaking in the green range), and short (peaking in the blue-violet range).2PubMed. Spectral sensitivity of human cone photoreceptors Your brain computes color by comparing the relative signals from these three cone types.3PubMed Central. Formulae for generating standard and individual human cone spectral sensitivities When light at 580 nanometers hits your retina, it strongly excites the long-wavelength cones, moderately excites the medium-wavelength cones, and barely touches the short-wavelength cones. Your brain reads that pattern as “yellow.”

This three-channel system means you are not reading wavelengths the way a spectrometer does. You are making educated guesses based on a limited set of inputs. Two physically different light mixtures can produce the same cone-excitation pattern and therefore look identical to you. The practical consequence for rainbows is that your perception of how many “separate” colors you see depends on how sensitive your particular cones are, how your brain’s higher-level processing carves up the signals, and how your culture has trained you to label the results.

Color Categories Start Before Language

One of the more interesting findings in color science is that at least some color boundaries seem to be built into the visual system before a child ever learns the word “blue” or “green.” Studies using brain imaging on infants too young to speak have found that their visual cortex responds differently to colors that adults would classify as belonging to different categories (say, blue versus green) compared to two shades within the same adult category (two different greens). These infants have never been taught any color words, yet their brains already treat certain color boundaries as meaningful.4PubMed Central. Cortical response to categorical color perception in infants investigated by near-infrared spectroscopy

This suggests that color categorization is not purely a linguistic invention. There is something about the way mammalian visual systems process wavelength information that predisposes us toward certain perceptual boundaries. But the number of categories and where exactly we draw the lines? That is heavily influenced by culture and language.

Language Shapes How Many Colors You See

Different languages carve the spectrum into different numbers of basic color terms. Russian has separate basic words for light blue (goluboy) and dark blue (siniy), and Russian speakers distinguish those two shades faster than English speakers who file both under “blue.” Greek similarly distinguishes light and dark blue with different basic terms, and Greek speakers show measurable speed advantages in color discrimination tasks that cross that boundary.5Communications in Humanities Research. The Influence of Language on Color Cognition in Different Cultural Backgrounds The language you speak does not change the photons hitting your eyes, but it does change how quickly and confidently your brain sorts them into categories.

Research on the Tsimane’, an indigenous group in Bolivia, has shown that color naming is closely tied to how useful color distinctions are in daily life. The Tsimane’ use fewer color terms overall compared to industrialized populations, and they are less likely to mention color when describing everyday objects. But when shown artificially colored objects, their color naming becomes more detailed, suggesting that encountering a wider variety of manufactured colors pushes cultures toward finer color distinctions.6PubMed Central. Color naming across languages reflects color use

So the question “how many colors are in the rainbow” does not have a single universal answer even among humans. It depends on which human you ask and which language they think in. Newton’s seven was a product of 17th-century English intellectual culture as much as it was a product of optics.

Why Your Rainbow Might Not Match Mine

Even within a single language community, individuals see color differently. The exact peak sensitivity of your cone cells, the density of those cones across your retina, the yellowing of your lens as you age, and the way your brain has calibrated itself to the lighting environments you grew up in all contribute to variation. Research on individual differences in color vision has found that people vary more in their underlying spectral sensitivity than you might guess from everyday experience, because the brain actively compensates to keep perception somewhat stable.7PubMed Central. Individual differences and their implications for color perception

Then there are the outliers. People with red-green color vision deficiency, which affects roughly one in twelve men and a much smaller fraction of women, might see fewer distinct bands in a rainbow. On the other end, a small number of women appear to carry a fourth cone type (a condition called tetrachromacy), which could theoretically allow them to distinguish finer gradations of color than the rest of us, though convincing evidence of functional tetrachromacy in real-world conditions remains scarce.

The famous 2015 “the dress” phenomenon, where a single photograph of a dress was perceived as either blue-and-black or white-and-gold by different viewers, was a vivid public demonstration of how much individual variation exists in color processing. The disagreement was not about the physics. It was about the assumptions each person’s brain was making about the lighting in the scene. The same kind of individual variability applies when someone looks at a rainbow and counts the bands.

How Other Animals Would Answer the Question

If you asked a dog how many colors are in the rainbow, it would report fewer, since dogs have only two types of cone cells. Their world is roughly comparable to what a person with red-green color blindness sees. A honeybee, on the other hand, has three cone types like humans but shifted toward shorter wavelengths. Bees can see ultraviolet light, which means their rainbow would extend into a range we cannot perceive at all, but they would miss the red end.

Birds, many fish, and many reptiles have four types of cone cells. A bird looking at a rainbow sees distinctions in the ultraviolet range that are completely invisible to us.8PubMed. Color vision in animals: From color blind seals to tetrachromatic vision in birds The mantis shrimp, famously, has sixteen types of photoreceptor. Despite popular claims that mantis shrimp see “the most colors,” research suggests they actually process color in a fundamentally different way than vertebrates, more like a barcode scanner than a mixing system, and they may discriminate fewer subtle shade differences than humans despite their hardware advantage. Still, the point stands: “how many colors are in the rainbow” is an organism-relative question, not just a culture-relative one.

The Science of Color Categories Is Still Unsettled

For about 150 years, the dominant framework for understanding how humans organize color perception was Ewald Hering’s opponent-colors theory, which proposed that the brain sorts color along three axes: red versus green, blue versus yellow, and black versus white. This was an intuitive and enormously influential idea. You have probably encountered it if you have ever been told that red and green are “opposites” or that there is no such thing as a reddish green.

Recent work has challenged this framework head-on. A review published in Trends in Cognitive Sciences concluded that neither the psychological side of the theory (that any color can be fully described by its position on these three axes) nor the physiological side (that three corresponding brain mechanisms encode these axes) holds up under scrutiny.9Trends in Cognitive Sciences. Color appearance and the end of Hering’s Opponent-Colors Theory The brain’s color processing turns out to be messier and more multidimensional than the neat opponent-pairs model suggests.

This matters for the rainbow question because it means we cannot simply appeal to a tidy perceptual framework and say “the brain naturally sees X many categories.” The mechanisms that turn wavelength into perceived color are more complex, more variable, and less neatly structured than many textbooks still imply. The number of perceptual “bins” your visual system uses is not fixed by a simple set of opponent channels.

Six, Seven, or Something Else Entirely

Different educational traditions have settled on different numbers. Japanese schoolchildren traditionally learn seven colors, matching Newton. Many Western European curricula now teach six, dropping indigo. Some African and Asian languages have basic color-term systems that would parse the rainbow into as few as three or four named regions. The Shona language of Zimbabwe and the Bassa language of Liberia have historically been cited as examples of languages with fewer basic color categories than English, though the details are often oversimplified in popular accounts.

Even within English, the way people segment the spectrum is not perfectly consistent. If you ask a room full of English speakers to point at where “blue” ends and “green” begins in a projected rainbow, you will get a spread of answers. The boundary is not fixed in the stimulus. It is negotiated by each brain, informed by each person’s particular visual hardware, life experience, and the color vocabulary they have internalized.

What Screens and Pigments Do to the Question

Most people encounter rainbows more often on screens than in the sky. Your phone or monitor reproduces color by mixing just three primary light colors (red, green, and blue subpixels) in varying intensities. This tricks your three-cone visual system into perceiving a wide gamut of hues, but the display is not actually producing every wavelength present in a real rainbow. A real rainbow contains monochromatic light at every visible wavelength. Your screen fakes that experience by stimulating the same cone-response patterns using only three narrow wavelength bands.

This means any rainbow you see in a photograph or on a screen is already an approximation. The question of “how many distinct colors” becomes even more artificial in that context, since the display is only generating mixtures of three primaries rather than the full continuous spectrum. The perceptual result can be quite convincing, but it is worth knowing that what you see on screen is a reconstruction, not a recording, of spectral reality.

Why the Number Keeps Changing in Textbooks

The shift from seven to six in many modern science textbooks reflects a broader move in science education toward presenting the rainbow as a continuous spectrum rather than a set of discrete bands. When the goal is to teach optics, emphasizing that a rainbow is a gradient is more physically accurate than asking students to memorize seven named stripes. Dropping indigo helps because it removes the weakest link in the chain, the color most people cannot reliably identify.

But the seven-color tradition has deep cultural roots. ROYGBIV (or Roy G. Biv) is one of the most enduring mnemonics in English-language education, and it has been embedded in children’s songs, art classes, and pride flag designs for generations. The six-stripe rainbow pride flag designed by Gilbert Baker in 1978, incidentally, used a different set of colors than Newton’s seven, reinforcing the point that any selection of “the” rainbow colors is a human choice, not a natural law.

Some color scientists have argued that if we are going to name discrete bands at all, the most perceptually honest list might be just five or six: red, orange, yellow, green, blue, and violet. Others have pointed out that the boundary between red and orange, or between blue and violet, is just as fuzzy as the one between blue and indigo, so singling out indigo for removal is somewhat arbitrary too. The conversation keeps going because there is no experiment that can definitively resolve it. The spectrum does not have joints. We impose them.