Color mixer

Colors of the Rainbow and Their Meanings

The colors of the rainbow are red, orange, yellow, green, blue, indigo and violet, in that order from the outer edge of the arc to the inner edge.

In this guide
  1. The order
  2. Why that order
  3. Indigo
  4. How many
  5. Meanings
  6. Culture
  7. Paint vs light
  8. Mixing
  9. How to use
  10. Missing colors
  11. FAQ

That seven-color list is a tradition more than a hard fact, and the story behind it is half the fun. In the mixer above you can see each shade with its hex code. Below you will find why the order never changes, what each color is said to mean, and how to mix and use them.

What Are the Colors of the Rainbow in Order?

From the top of the arc to the bottom, the order is red, orange, yellow, green, blue, indigo, violet. Red sits on the outside, violet on the inside, and the other five fan out between them. The hex codes on this page (#E32227, #FF7A00, #FFD500, #2E9E44, #1F4FD8, #4B0082, #8F00FF) are screen versions, tuned to look like a bold, clean rainbow.

Here are four easy ways to keep the order straight:

  • ROYGBIV, read as a name: Roy G. Biv.
  • VIBGYOR, the same list reversed, handy when you read from the inner edge.
  • “Richard Of York Gave Battle In Vain,” a classic British sentence mnemonic.
  • Warm to cool: red, orange and yellow run warm, blue, indigo and violet run cool, and green sits in the middle.

Why Does the Rainbow Always Appear in the Same Order?

Sunlight enters a raindrop and bends, bounces off the back of the drop, then bends again on the way out. Each wavelength bends by a slightly different amount. Red, with the longest wavelength, bends least and lands on the outer edge. Violet, with the shortest, bends most and lands on the inner edge.

In a double rainbow, which color sits on the outer edge of the upper, fainter arc?

The second arc is reversed because the light reflects twice inside each raindrop, so violet ends up outermost.

A double rainbow shows the same physics with a twist. The second, fainter arc forms when light reflects twice inside the drop, which flips the order. You will see red on the inside of the upper arc and violet on the outside.

If violet is part of sunlight, why isn’t the sky purple? That has its own short answer.

Is Indigo Really a Rainbow Color?

Indigo is the odd one out. Newton’s early experiments in the 1660s named five colors: red, yellow, green, blue and violet. In 1675 he added orange and indigo, most likely to match the seven notes of the musical scale.

Two panels compare red and blue mixing: paint gives dark indigo #4B0082, light gives bright magenta #FF00FF
Mix red and blue as paint for dark indigo, but as light you get bright magenta.

Part of the confusion is language. Many historians think Newton’s “blue” was closer to what we now call cyan, and his “indigo” closer to our blue. Indigo was also a well-known trade dye then, so his readers knew the name. Today it means a deep blue-violet that most eyes cannot separate from its neighbors.

Newton's first list

His earliest rainbow had only five colors. Orange and indigo joined later to make seven.

Plenty of modern rainbows skip it. The Pride flag goes straight from blue to violet. If indigo’s mystical reputation interests you, see our guide to the indigo aura meaning.

How Many Colors Does a Rainbow Really Have?

A rainbow is a smooth gradient of wavelengths, so any count is a choice about where to draw lines. Your eye sees bands, but the light itself has no stripes. Seven is Newton’s choice, six is the modern classroom choice, and a few lists swap indigo for cyan to better match the color wheel.

Cultures and languages also carve up color differently. Some languages have fewer basic color words, so their speakers would name fewer bands. For design work I choose the count by the job: six for flags and icons, seven for teaching, and a full gradient when I want the arc to look natural.

What Each Rainbow Color Means

These meanings are symbolic associations, not science. They come from culture, habit and history, so treat them as a starting palette rather than a rulebook.

Color Hex Usually linked with
Red #E32227 Energy, passion, warning
Orange #FF7A00 Warmth, enthusiasm
Yellow #FFD500 Cheer, attention
Green #2E9E44 Nature, growth
Blue #1F4FD8 Calm, trust
Indigo #4B0082 Depth, intuition
Violet #8F00FF Imagination, royalty

Red and yellow are the colors food brands love, and our piece on colors that make you hungry explains how they get used. Blue and green are the usual picks when someone wants a restful room, and our guide to calming colors goes further.

Rainbow Symbolism in Different Cultures

Rainbows turn up in myth almost everywhere, and the meanings differ. In Greek myth, Iris is the goddess who carries messages along the rainbow. In Norse myth, the bridge Bifröst links the human world and the realm of the gods. In the Hebrew Bible, the rainbow is the sign of God’s promise to Noah after the flood.

Today the rainbow’s best-known symbol is the Pride flag. Gilbert Baker designed the original in 1978 with eight stripes. The version most people know now uses six: red, orange, yellow, green, blue and violet.

Individual colors shift by place too. White is a wedding color in much of the West and a mourning color elsewhere, and the rainbow’s colors carry similar cultural variation. When you use rainbow colors for an international audience, check what they signal in each market.

Paint Versus Light: Why Rainbow Colors Mix Differently

On a screen, color is built from light. Red, green and blue light add together, so red plus green makes yellow, and all three together make white. That is the RGB system, and it is why a prism can turn white sunlight into a rainbow and back again.

Paint works the other way. Pigments absorb light, so every pigment you add takes more away. This is the traditional red, yellow, blue (RYB) model painters use: red plus yellow gives orange, yellow plus blue gives green, and blue plus red gives violet. Mix too many and you head toward muddy brown.

This is also why no paint matches #8F00FF. A true spectral violet is a single wavelength, and a screen fakes it with blue and red light. Paint violets are always a little duller. Mixing across the wheel gets muted results too, as you will see in what yellow and purple make.

How to Mix Each Rainbow Color From Paint

At the tinting counter, I learned that the color you want depends less on ratios than on which red, yellow and blue you start with. A bluish red and a greenish blue make a clean violet. A warm red and a warm yellow make a clean orange. Start with these ratios and adjust by eye:

  1. Orange: 1 part red to 1 part yellow. Add more yellow for a sunnier orange.
  2. Green: 2 parts yellow to 1 part blue. Blue is strong, so add it slowly.
  3. Violet: 2 parts blue to 1 part red, using a cool, bluish red.
  4. Indigo: 3 parts blue to 1 part red, plus the tiniest speck of black.
  5. Lighter versions: add white a dab at a time, since it takes over fast.

Keep a small test card beside you and let each mix dry before you judge it, because paint shifts darker as it dries. For the exact terms on lightening and darkening, see tint, shade and tone.

You want a deep indigo from paint. Which starting mix works best?

Indigo is a dark blue that leans just slightly toward violet, so blue has to lead the mix.

How to Use Rainbow Colors in Rooms, Outfits and Art

A full-strength rainbow is a lot to live with. The trick is to pick a few colors and let neutrals do the quiet work.

Three tall paint chip cards showing soft green wall, blue rug and violet framed prints with hex codes
Paint one wall a soft tint, then bring two bold rainbow colors in through a rug and prints.

In a room

One client wanted all seven colors on her nursery walls. We painted a single wall a soft tint of green, then brought the rest in through bedding, a rug and framed prints. It felt playful without buzzing. Two or three rainbow colors per room is plenty.

In an outfit

Wear one bold rainbow color against a neutral base. If you want several, choose neighbors on the arc, like blue, indigo and violet, which sit comfortably together.

In art and design

Keep the red-to-violet order when you want the gradient to look natural, since reversed order reads as a double rainbow. For a more structured scheme, try four evenly spaced colors from the arc, which is the idea behind the square color scheme.

Try this: Pick any three rainbow colors from the mixer above. Hold up swatches or a phone screen in the room you want to use them in, and cut one color so the other two lead.

Where Are Pink, Brown and Magenta in the Rainbow?

They are not there, and the reason is useful. Pink is a light tint of red, and brown is a darkened orange or yellow, so neither is a spectral color, meaning neither is a single wavelength of light. Rainbows only contain spectral colors.

Magenta is the clearest case. Your eye sees it when red and blue light arrive together, with no green, and no single wavelength produces it. That is why you will never find it as a rainbow band.

These colors still earn their place in a palette. If pink is the one you are missing, see what goes with pink for pairings that bring it into a rainbow scheme.

Colors of the Rainbow and Their Meanings: questions people ask

What are the 7 colors of the rainbow in order?

Red, orange, yellow, green, blue, indigo and violet, from the outer edge of the arc to the inner edge. The memory aids ROYGBIV and VIBGYOR spell the same list forwards and backwards.

Why is indigo in the rainbow?

Isaac Newton added it, along with orange, to reach seven colors, most likely to echo the seven notes of the musical scale. Many modern lists drop it and show six colors, because most people cannot pick out a separate indigo band.

How many colors are in a rainbow?

A rainbow is a continuous gradient, so there is no true count. Seven is a naming tradition, six is a common modern simplification, and other cultures and languages divide the arc differently.

What is the order of colors in a double rainbow?

The main arc runs red on the outside to violet on the inside. The fainter second arc sits above it with the order reversed, so violet is on its lower edge and red is on top.

What happens if you mix all the rainbow colors together?

With light, combining all the colors gives white, which is why a prism can split sunlight. With paint, mixing them all gives a muddy brown or gray.

Keep exploring