GameParticles
Colors

The Color Wheel Explained: Primary, Secondary, Tertiary

How the color wheel works: primary, secondary and tertiary colors, the difference between the RYB, RGB and CMY wheels, and how to use it to pick colors.

Updated

A color wheel is a circle of hues arranged in the order of the rainbow, with the red and violet ends joined so the sequence has no break. It shows how colors relate: primary colors are the starting points, secondary colors are mixes of two primaries, and tertiary colors sit between a primary and its neighboring secondary. Colors next to each other on the wheel blend, and colors opposite each other contrast.

Where the wheel comes from

Isaac Newton is credited with the first color circle, published in his book Opticks in 1704. After splitting sunlight into a spectrum with a prism, he bent the band of colors into a ring so that red and violet met. That step is what makes a wheel useful: once hues are on a circle, relationships such as "opposite" and "one third of the way round" have a meaning.

Artists later built wheels around the three pigments they treated as primary, red, yellow and blue, and the twelve-part version of that wheel is the one still taught in art classes. Screens and printers brought two more wheels based on how light and ink behave. All three are in use today.

Primary, secondary and tertiary colors

The structure is the same on every wheel.

  • Primary colors are the three that the system starts from. They cannot be made by mixing the other colors in that system.
  • Secondary colors are made by mixing two primaries in equal parts. There are three, one between each pair of primaries.
  • Tertiary colors are made by mixing a primary with the secondary next to it. There are six, which brings the wheel to twelve hues.

On the traditional wheel, red and yellow make orange, yellow and blue make green, and blue and red make purple. The tertiaries take double names: red-orange, yellow-orange, yellow-green, blue-green, blue-purple and red-purple.

RYB, RGB and CMY: three wheels

PropertyRYBRGBCMY
PrimariesRed, yellow, blueRed, green, blueCyan, magenta, yellow
SecondariesOrange, green, purpleYellow, cyan, magentaRed, green, blue
Mixing typeSubtractive (paint)Additive (light)Subtractive (ink)
All primaries mixedDark brown or greyWhiteNear black
Used forPainting, art educationScreens, CSS, photographyPrinting

The RYB wheel is a practical model of paint. It predates modern color science and is not exact, but it matches the experience of mixing pigments well enough to remain the standard in art teaching.

The RGB wheel describes light. A screen pixel has red, green and blue emitters, and adding light makes the result brighter. Red and green light together make yellow, green and blue make cyan, and red and blue make magenta. All three at full strength make white. Every HEX code, and the hue angle in CSS hsl(), refers to this wheel.

The CMY wheel describes ink. Ink works by absorbing light, so each layer makes the result darker. Cyan, magenta and yellow are the primaries, and in theory all three together make black. Real inks produce a muddy dark brown, so printers add a separate black ink, which is the K in CMYK.

RGB and CMY are two views of the same wheel. The secondaries of one are the primaries of the other, and the hues fall in the same order. RYB is the odd one out: its hues are in the same order, but spaced differently, so its opposites are different. Red faces green on the RYB wheel and cyan on the RGB wheel. The complementary colors guide lists the pairs for both.

The RGB wheel in degrees

On screens, a position on the wheel is called the hue and is measured as an angle from 0 to 360 degrees. These are the twelve main stops at full saturation.

HueNameHEXType
0Red#FF0000Primary
30Orange#FF8000Tertiary
60Yellow#FFFF00Secondary
90Chartreuse#80FF00Tertiary
120Green#00FF00Primary
150Spring green#00FF80Tertiary
180Cyan#00FFFFSecondary
210Azure#0080FFTertiary
240Blue#0000FFPrimary
270Violet#8000FFTertiary
300Magenta#FF00FFSecondary
330Rose#FF0080Tertiary

The pattern in the HEX codes mirrors the definitions. Primaries have one channel at FF. Secondaries have two. Tertiaries have one channel at FF and one at 80, which is half strength.

To find where any color sits, paste its HEX code into the Color Converter and read the first number of the HSL value. The blue #2563EB is hsl(221, 83%, 53%), so its hue is 221 degrees, between azure and blue. The other two numbers, saturation and lightness, are not on the wheel at all: a basic wheel shows only fully saturated hues. Pastel, dark and muted versions of each hue lie toward white, black and grey. The HEX, RGB and HSL guide explains those values.

Warm and cool halves

The wheel divides into a warm half, running from red through orange to yellow, and a cool half, running from green through blue to purple. On the RGB wheel the warm half runs roughly from rose at 330 degrees round through red to yellow at 60. The boundary hues, yellow-green and red-purple, can read as either depending on their neighbors. Warm colors tend to draw attention and cool colors tend to recede, which is why a warm accent on a cool background is so common.

How to use the color wheel

The wheel turns color selection into geometry. Pick a starting hue, then choose partners by angle.

SchemeRuleResult
MonochromaticOne hue, different lightnessQuiet and unified
AnalogousNeighbors, 20 to 40 degrees apartCalm and natural
ComplementaryOpposite, 180 degrees apartStrongest contrast
Split-complementaryThe two hues beside the oppositeStrong but softer
TriadicThree hues 120 degrees apartLively and balanced
TetradicTwo opposite pairsRich and complex

In practice:

  1. Start with one color you are sure of, such as a brand color.
  2. Find its hue angle.
  3. Add or subtract the angle for the scheme you want: 180 for a complement, 120 and 240 for a triad, 20 to 40 for neighbors.
  4. Adjust lightness and saturation so the colors are not all equally loud, and check text contrast.

The Color Palette Generator carries out steps 2 and 3. Enter a HEX code or click the swatch to open a color picker, then switch between Complementary, Analogous, Triadic and Split-Comp. It works on the RGB wheel, so its complement for red is a cyan, not the green a painter would expect.

Each scheme has a guide of its own: analogous colors, complementary colors and triadic colors. For proportions, warm and cool effects and the 60-30-10 rule, see color theory basics.

Try it

Enter #FF0000 in the Color Palette Generator and choose Triadic to see the other two RGB primaries appear, then try your own color and compare the four harmony modes. Each swatch copies its HEX code when clicked.

Tools in this guide

Frequently asked questions

What are the 12 colors on the color wheel?

On the traditional wheel they are three primaries (red, yellow, blue), three secondaries (orange, green, purple) and six tertiaries: red-orange, yellow-orange, yellow-green, blue-green, blue-purple and red-purple. Each tertiary sits between the primary and secondary it is named after.

What are the primary colors?

It depends on the system. In traditional painting they are red, yellow and blue. For light and screens they are red, green and blue. For printing inks they are cyan, magenta and yellow. Each set is the starting point from which that system mixes other colors.

What is the difference between the RGB and RYB color wheels?

The RYB wheel uses red, yellow and blue as primaries and describes traditional paint mixing. The RGB wheel uses red, green and blue and describes how light mixes on a screen. Opposite colors differ: red faces green on RYB but cyan on RGB.

Why is magenta on the color wheel but not in the rainbow?

A rainbow is a straight band running from red to violet. The wheel bends that band into a circle, and the gap between the two ends is filled with mixtures of red and violet light. Those mixtures are the purples and magenta.

More colors guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵