Search

Tuesday, November 3, 2026

Why Do Rainbows Have Seven Colors?

Why Do Rainbows Have Seven Colors?

Category: Everyday Science | Published: March 2026 | Reading Time: 12 min

Why Do Rainbows Have Seven Colors?

Few natural phenomena evoke as much universal wonder as a brilliant arc of a rainbow spanning a stormy sky. Generations of schoolchildren have memorized the familiar mnemonic ROYGBIV: Red, Orange, Yellow, Green, Blue, Indigo, and Violet. We are taught from our earliest science lessons that a rainbow consists of precisely seven distinct bands of color. Yet, if you look closely at a crisp natural rainbow, you will notice something fascinating: there are no black borderlines separating the shades. The colors blend into one another in a smooth, continuous gradient of infinite hues.

Why, then, do we say a rainbow has seven colors? The answer is a captivating fusion of wave optics, atmospheric physics, human retinal biology, and the idiosyncratic musical mysticism of Sir Isaac Newton. A rainbow is not a physical object hanging in the sky; it is an optical illusion created when millions of airborne raindrops act as miniature liquid prisms, bending, reflecting, and dispersing sunlight. Exploring this chromatic marvel requires analyzing Snell's Law of refraction, total internal reflection, light wavelength dispersion, human trichromatic vision, and why Newton added indigo to the spectrum.

Optical Matrix: The Electromagnetic Spectrum of Rainbow Colors

The physical properties of the visible electromagnetic spectrum and how different wavelengths bend inside raindrops:

Rainbow Color Band Approximate Wavelength Range Refractive Index in Water ($n$) Deflection Angle from Antisolar Point
Red 620 to 750 nanometers (nm) $1.331$ (Lowest refraction) $42.4^\circ$ (Appears at the outermost top of the primary arc).
Orange 590 to 620 nm $1.333$ $42.0^\circ$
Yellow 570 to 590 nm $1.335$ $41.7^\circ$
Green 495 to 570 nm $1.337$ $41.2^\circ$
Blue 450 to 495 nm $1.341$ $40.7^\circ$
Indigo 425 to 450 nm $1.343$ $40.4^\circ$ (Historically distinguished by Newton).
Violet 380 to 425 nm $1.345$ (Highest refraction) $40.1^\circ$ (Appears at the innermost bottom of the arc).

The Anatomy of a Raindrop: Refraction, Reflection, Dispersion

To see a rainbow, your back must be turned toward the Sun while facing an airborne sheet of falling rain. When parallel beams of white sunlight strike a spherical raindrop, an exquisite sequence of optical events unfolds:

  1. First Refraction (Entry): As sunlight transitions from thin air into dense liquid water, its speed slows from approximately $300,000 \text{ km/s}$ down to $225,000 \text{ km/s}$. According to Snell’s Law, this deceleration causes the light ray to bend (refract). Because different wavelengths travel at slightly different speeds in water, short wavelengths (violet, $380\text{ nm}$) bend more sharply than long wavelengths (red, $700\text{ nm}$). This separation of white light into its component wavelengths is called dispersion.
  2. Total Internal Reflection (Back Wall): The dispersed light rays travel across the interior of the raindrop and strike the back curved surface. Because the angle of incidence exceeds the critical angle of water, the majority of the light bounces off the internal back wall like a mirror.
  3. Second Refraction (Exit): The reflected rays travel back toward the front of the raindrop, accelerating as they exit water into air. This second refraction bends the rays even further apart, projecting a cone of separated chromatic light back toward the observer’s eyes at a precise angle between $40^\circ$ and $42^\circ$.
Why You Can Never Reach the End of a Rainbow: A rainbow is not a physical location on the ground; it is an optical phenomenon centered entirely on your eye’s position relative to the Sun (the Antisolar Point). As you walk toward a rainbow, your personal angle moves with you. Furthermore, because no two people occupy the exact same spatial point simultaneously, every single observer sees their own unique rainbow formed by a completely different set of raindrops!

Why "Seven"? Newton's Musical Mysticism

If white light contains an infinite continuum of electromagnetic frequencies, why did society settle on exactly seven colors? For this, we must thank Sir Isaac Newton.

In 1666, working in his darkened chamber at Trinity College, Cambridge, Newton passed a beam of sunlight through a glass prism, proving that white light is a composite of all spectral colors. In his original experimental notes, Newton initially identified only five primary colors: red, yellow, green, blue, and violet.

However, Newton was deeply influenced by ancient Greek philosophy and Renaissance alchemy, particularly the Pythagorean belief in cosmic harmony. The ancient Greeks revered the number seven as a sacred cosmic constant: there were seven known planets in the heavens, seven days of the week, and crucially, seven notes in the musical diatonic scale (Do, Re, Mi, Fa, Sol, La, Ti).

Newton believed nature must reflect divine harmonic symmetry. Just as an octave contains seven musical notes before repeating, Newton reasoned that the visual spectrum of light must contain seven harmonious notes of color. To force the spectrum into seven divisions, he retroactively inserted two transitional shades: orange between red and yellow, and indigo between blue and violet. Most modern color scientists agree that indigo—a deep purplish blue—is merely a variation of blue and does not warrant standalone classification, yet Newton’s poetic seven-color framework became immortalized in textbooks.

Human Retinal Biology: How Our Eyes See Color

The perception of color does not exist in the light itself; it is manufactured inside the human brain. Human retinas possess three distinct types of photoreceptor cone cells—L-cones (sensitive to red wavelengths), M-cones (sensitive to green), and S-cones (sensitive to blue). This trichromatic system interprets intermediate colors by measuring the ratio of excitation across these three cone types.

When light from a rainbow enters your eye, the brain synthesizes millions of subtle transitional shades. Other animals perceive rainbows completely differently: dogs and cats, possessing only two cone types (dichromats), see a rainbow as shades of yellow and blue, while birds and butterflies, equipped with four or five cone types, see ultraviolet rainbow bands invisible to human eyes.

Quick recap

Rainbows are optical phenomena formed when airborne raindrops refract, internally reflect, and disperse white sunlight into its constituent electromagnetic wavelengths. Red light bends least, exiting at $42^\circ$, while violet bends most, exiting at $40^\circ$. While rainbows actually contain a continuous spectrum of infinite shades, we categorize them into seven colors because Sir Isaac Newton deliberately aligned the visual spectrum with the seven notes of the musical octave. Driven by human trichromatic retinal perception, the rainbow remains one of nature's greatest triumphs of optics.

Ads