Rainbows appear across the sky after a summer storm or near a cascading waterfall, presenting a seamless gradient that captures the eye and sparks curiosity. This optical phenomenon is not a flat painted arch but a three-dimensional cone of colored light, and its vivid hues emerge from a precise interplay between sunlight and water droplets.
At its core, a rainbow is a spectrum made visible when sunlight interacts with water in the atmosphere. White sunlight contains a continuous range of wavelengths, each corresponding to a distinct color from violet to red. When these rays encounter spherical water droplets, they undergo refraction, dispersion, and reflection, processes that separate the wavelengths and direct them toward an observer’s eye.
How Refraction and Dispersion Create the Color Sequence
The first step in rainbow formation occurs as sunlight enters a water droplet. Because light slows down when moving from air into denser water, it bends, or refracts. Different wavelengths bend by slightly different amounts; shorter violet wavelengths curve more sharply than longer red wavelengths, an effect known as dispersion. This initial separation sets the stage for the ordered color sequence seen in every rainbow.

Inside the droplet, the dispersed light reflects off the inner back surface in a process known as internal reflection. For primary rainbows, which are the most commonly observed, this reflection occurs once. As the light exits the droplet, it refracts again, further spreading the colors and directing them toward the observer. The result is a concentrated band of red on the outer edge and violet on the inner edge, with the other colors—orange, yellow, green, blue, and indigo—arranged neatly in between.
The Geometry of Observation
The appearance of a rainbow is deeply tied to the geometry of light and perspective. The center of the primary rainbow’s circular arc is directly opposite the sun, a point known as the antisolar point. An observer sees light reflected from droplets located at about 42 degrees from this center for red light and roughly 40 degrees for violet light, forming the familiar arc shape. Each person sees light from different droplets, meaning no single rainbow is shared by multiple observers.
Factors That Influence Rainbow Appearance
The brightness, clarity, and width of a rainbow depend on several environmental factors. Uniform droplet size, such as that found in fine mist or spray, produces sharper and more vivid color bands. The position of the sun also matters; rainbows appear lower in the sky when the sun is near the horizon, allowing for a longer viewing distance and a more complete semicircular arc. Atmospheric conditions, including cloud cover and air clarity, can enhance or obscure the display.

| Rainbow Type | Light Reflections | Approximate Angular Radius | Color Order |
|---|---|---|---|
| Primary | 1 | 42° (red) to 40° (violet) | Red on outer edge |
| Secondary | 2 | 51° (red) to 54° (violet) | Red on inner edge |
Secondary rainbows, which appear fainter and outside the primary arc, result from two internal reflections within water droplets. This extra reflection inverts the color sequence, placing red on the inner edge of the band. The additional path of light also reduces intensity, making secondary rainbows subtler and often less distinct.
Understanding what causes rainbow colors transforms a fleeting natural spectacle into a teachable moment in physics. From the bending of light at a droplet’s surface to the precise angles that shape an observer’s view, each element of a rainbow demonstrates how fundamental principles create beauty. The next time a rainbow appears, the spectrum in the sky can be seen not just as a symbol of wonder, but as a vivid demonstration of light in motion.























