How Do the Colors in the Rainbow Go? ROYGBIV Order Explained

Bradley May 30, 2026

Rainbows are among nature’s most captivating displays, a fleeting spectrum that appears after a storm or beneath a garden sprinkler. The question of how do the colors in the rainbow go is rooted in the physics of light, specifically the process of refraction and dispersion through water droplets. To understand the sequence, we must look at the fundamental properties of white light, which is composed of a continuous range of wavelengths that our eyes interpret as color. When sunlight encounters a prism or a rain cloud, it is bent, or refracted, separating into its constituent parts.

Why Is Red Always on Top? 🌈 The Secret Behind Every Rainbow
Why Is Red Always on Top? 🌈 The Secret Behind Every Rainbow

The Science of Dispersion

Why is a Rainbow Curved? | How Rainbows Form! 🌈✨
Why is a Rainbow Curved? | How Rainbows Form! 🌈✨

The mechanism behind the order of the colors is dispersion, a phenomenon where different wavelengths of light travel at different speeds through a medium. In the case of a rainbow, that medium is water. As light enters a spherical water droplet, it slows down and bends towards the normal line; the degree of this bend depends on the wavelength. Shorter wavelengths, such as violet and blue, slow down more and bend at a sharper angle than longer wavelengths like red. This angular separation is the first step in arranging the colors in a specific sequence.

Refraction and Reflection

an image of rainbows and how to draw them
an image of rainbows and how to draw them

After the initial refraction, the light continues through the droplet and strikes the inner back wall. Most of the light is reflected off this inner surface in a process akin to a mirror, though a small portion is refracted again as it exits the droplet. It is this double refraction—entering and exiting the sphere—that creates the vivid, circular arc we see in the sky. The angle at which the light exits is specific to each wavelength, ensuring the red light is always on the outer edge of the band, while blue remains on the inner edge.

The Traditional Sequence

a poster with an image of a rainbow and the words, what are the colors of a rainbow?
a poster with an image of a rainbow and the words, what are the colors of a rainbow?

When observing a primary rainbow, the colors always appear in the same order due to the consistent physics of refraction. The sequence, memorized by generations through mnemonic devices, progresses from the longest wavelength to the shortest visible wavelengths. Moving from the outside edge of the arc to the inside, the colors align in a specific pattern that is universal, whether viewed over the ocean or from a kitchen faucet.

Color Order Breakdown

The standard sequence of the spectral colors is as follows: Red, Orange, Yellow, Green, Blue, Indigo, and Violet. This progression is not arbitrary; it mirrors the gradual change in energy and wavelength across the visible light spectrum. Red, being the least refracted, sits at the top, while violet, being the most refracted, sits at the bottom of the visible band in a primary rainbow. This arrangement is a direct result of the index of refraction of water varying slightly for each color.

the colors of the rainbow are shown in different shades and font styles, including red, orange, yellow, green, blue, indigo violet
the colors of the rainbow are shown in different shades and font styles, including red, orange, yellow, green, blue, indigo violet

ROYGBIV Explained

The acronym ROYGBIV serves as a helpful tool for recalling the progression of the palette. Each letter corresponds to a distinct band of color that blends seamlessly into the next, creating the smooth gradient that delights the eye. Understanding this order helps clarify the answer to how do the colors in the rainbow go, transforming a beautiful visual effect into a predictable scientific outcome. The consistency of this sequence allows for reliable identification and study of atmospheric optics.

Variations and Secondary Rainbows

how a rainbow forms in the sky and what it does to light up your life
how a rainbow forms in the sky and what it does to light up your life

While the primary rainbow follows the ROYGBIV sequence, atmospheric conditions can produce variations. A secondary rainbow, formed by two reflections inside the water droplet, appears fainter and outside the primary arc. In this reversed phenomenon, the color order is inverted, with violet on the outside and red on the inside. This provides a clear visual confirmation that the angle of reflection dictates the positioning of the wavelengths, offering a dynamic illustration of the underlying principles.

Cultural and Perceptual Notes

Rainbow Facts for Kids
Rainbow Facts for Kids
Rainbow Color Trick: ROY G. BIV Mnemonic 🌈
Rainbow Color Trick: ROY G. BIV Mnemonic 🌈
Facts About Rainbows
Facts About Rainbows
Why Is the Rainbow Curved? Science of Rainbow Shape
Why Is the Rainbow Curved? Science of Rainbow Shape
a rainbow poster with the words red orange yellow green blue indigo violet violet and violet
a rainbow poster with the words red orange yellow green blue indigo violet violet and violet
a rainbow shows all the colors of the light spectrum
a rainbow shows all the colors of the light spectrum
Colors of the Rainbow in Order
Colors of the Rainbow in Order
Anatomy of a Rainbow FREE Printable + Make a Rainbow
Anatomy of a Rainbow FREE Printable + Make a Rainbow
the rainbow chart shows different colors and numbers
the rainbow chart shows different colors and numbers
Why Do You See 7 Colors in The Rainbow?
Why Do You See 7 Colors in The Rainbow?
Colors of a Rainbow
Colors of a Rainbow
the rainbow fact sheet is shown in black and white, with different symbols on it
the rainbow fact sheet is shown in black and white, with different symbols on it
the back cover of a book with an image of a rainbow beam
the back cover of a book with an image of a rainbow beam
Rainbow Facts for Kids: Colorful Mysteries Unveiled
Rainbow Facts for Kids: Colorful Mysteries Unveiled
a rainbow poster with the words, you can't see what this is on it
a rainbow poster with the words, you can't see what this is on it
the rainbows form poster is shown with information about how to use it in this class
the rainbows form poster is shown with information about how to use it in this class
Make, Explore, Paint Rainbows – The Pinterested Parent
Make, Explore, Paint Rainbows – The Pinterested Parent
Rainbow Experiment - Lessons for Little
Rainbow Experiment - Lessons for Little
Walking Rainbow
Walking Rainbow
Rainbow Facts: What Is A Rainbow And How Does It Occur?
Rainbow Facts: What Is A Rainbow And How Does It Occur?

It is worth noting that the division of the spectrum into seven distinct colors is largely a cultural construct. Physically, the transition from red to green is a continuous gradient without hard boundaries. Some individuals with tetrachromacy may perceive a broader range of color within these bands. Nevertheless, the functional sequence remains constant for the human eye, answering the core question of how do the colors in the rainbow go with a precision dictated by the laws of physics rather than human perception. This universality makes the rainbow a timeless symbol of natural harmony.