Red, orange, yellow, green, blue, indigo, violet: seven names for a band of light that has no edges.
The colors of the rainbow, in order, are red, orange, yellow, green, blue, indigo and violet.1 Red is on the outside of the bow and violet on the inside.
The list of seven comes from Isaac Newton, who split sunlight with a prism in the 1660s. The rainbow itself has no stripes. Its colors run into each other without a break, and where one ends and the next begins is a matter of naming, not of nature.1
Many people remember the order as ROY G. BIV, or with the sentence “Richard Of York Gave Battle In Vain”.2
| Color | Hex code | Wavelength | |
|---|---|---|---|
| 1 | Red | #FF0000 | 620–750 nm |
| 2 | Orange | #FF7F00 | 590–620 nm |
| 3 | Yellow | #FFFF00 | 570–590 nm |
| 4 | Green | #00FF00 | 495–570 nm |
| 5 | Blue | #0000FF | 450–495 nm |
| 6 | Indigo | #4B0082 | about 430–450 nm |
| 7 | Violet | #8F00FF | 380–450 nm |
The order never changes, because it is the order of wavelength: red light has the longest waves the eye can see and violet the shortest. The bands in the table follow a standard handbook division of the spectrum, which has no indigo; the range given for indigo is Newton’s, as later measured, and it overlaps what the handbook calls violet.4
The hex codes are stand-ins. A screen cannot show the pure colors of a spectrum, so the codes give the strongest screen color of each hue.4 Real rainbows are also paler than a spectrum from a prism, because the bow of each color is smeared across its neighbors.1
Newton did not begin with seven. In 1672 he divided the spectrum into the five colors above: red, yellow, green, blue and violet. He later added orange and indigo to make seven, to match the seven notes of the musical scale.1, 2 Behind the choice lay an old belief in a hidden link between colors, musical notes, the known bodies of the solar system and the days of the week.1
Newton himself said his eyes were not very sharp at telling colors apart, and the seven are a decision, not a discovery.1 The spectrum is a smooth run of hues. Count broadly and there are three or four colors; count finely and there are dozens.
How many bands people report also seems to depend on their language. Some researchers have argued that everyone sees the rainbow alike, but later studies suggest that speakers of languages with fewer color words pick out fewer bands.1
Indigo is the one most people cannot find. The likely reason is that the words have shifted. Scholars who have studied Newton’s notes conclude that what he called blue is what we would now call cyan, a greenish blue, and what he called indigo is our plain blue.1, 4
On that reading the seven colors are red, orange, yellow, green, cyan, blue and violet, as in the bands above, and many modern accounts of the spectrum list them that way or drop indigo and count six.1, 4
The best-known six-color rainbow is a flag. The rainbow flag first flown in San Francisco on June 25, 1978, designed by Gilbert Baker with other artists, had eight stripes; the version in use since 1979 has six: red, orange, yellow, green, blue and violet.5
As it passes from air into water the light bends. Each color bends by a slightly different amount, violet most and red least, so the white light begins to fan out.
Part of the light bounces off the inside of the far wall and heads back toward the side it came from.
Leaving the drop, the colors spread further. Red light comes out at about 42° to the sun’s rays and violet at about 40°.
You see red from drops a little higher in the sky and violet from drops a little lower. All the drops at the right angle form a circle around the point opposite the sun, and the ground cuts it off into an arc.
That is why a rainbow always stands opposite the sun, why you cannot walk to its end, and why two people side by side see two slightly different bows, each made by different drops.1 From an aircraft, with nothing in the way, a rainbow can appear as a full circle.1
Sometimes a second, fainter bow appears about 10° outside the first. Its light has reflected twice inside each drop, which turns the order around: red is on the inside and violet on the outside. The darker strip of sky between the two bows is called Alexander’s band.1
Aristotle gives the first serious account of the rainbow. For centuries, later theories are reactions to his.1
Roger Bacon writes that the top of a rainbow cannot stand more than 42° above the horizon.1
Theodoric of Freiberg explains both bows correctly: light is bent twice and reflected once inside each drop for the main bow, and reflected twice for the second. The Persian scholar Kamal al-Din al-Farisi reaches a similar account in the same years.1
René Descartes tests the idea with a water-filled glass sphere and works out the angles of both bows.1
Isaac Newton reports that white light is a mixture of colors that a prism bends by different amounts, which at last explains the colors.1
Newton’s Opticks lists the seven colors still taught today.3
A rainbow shows every color that a single wavelength of light can make, and no others. Magenta, pink and purple are missing because they need red and blue light together, from the two opposite ends of the spectrum.6 Brown is missing because it is a dark orange, and a color can only look dark next to something brighter. White, gray and black are not there either: white is all the colors together, which is what a rainbow takes apart.
For how those colors are made, see what colors make purple and what colors make brown.
Red, orange, yellow, green, blue, indigo and violet, from the outer edge of the bow to the inner edge.
Red, orange, yellow, green, blue, indigo, violet: the first letters of the seven rainbow colors in order. It is often written as a name, Roy G. Biv.
Because Isaac Newton chose seven. He first named five and later added orange and indigo, to match the seven notes of the musical scale. The rainbow itself is a smooth band with no fixed number of colors.
Red is on the outer, upper edge and violet on the inner, lower edge. In a second, fainter bow outside the first, the order is reversed.
No. Pink and magenta are mixtures of red and blue light, from opposite ends of the spectrum, so no single band of the rainbow has that color.
Indigo is a deep blue that leans toward purple; violet lies beyond it, at the very end of the spectrum, and is closer to purple. Many modern lists leave indigo out and go straight from blue to violet.
As many as you care to name. The spectrum is continuous, so seven is a convention. Counts of six, with indigo left out, are just as valid.
Common ones are #FF0000 (red), #FF7F00 (orange), #FFFF00 (yellow), #00FF00 (green), #0000FF (blue), #4B0082 (indigo) and #8F00FF (violet). They are screen approximations; no screen can show true spectrum colors.
Three colors that mix into the rest. Which three depends on whether you mix paint, light or ink.
Warm colorsReds, oranges and yellows: the colors of fire and sunlight, from the half of the color wheel that seems to come forward.
Cool colorsBlues, greens and purples: the colors of water, shade and sky, from the half of the color wheel that seems to step back.
What colors make purple?Red and blue. But the red you pick decides whether you get a clean violet or a muddy brown.