Sub topic 2
Why there is more than one colour wheel: RYB, RGB, and CMY(K)
This chapter assumes you can name common colours, have used a colour picker, and know that hue, saturation, and lightness describe a colour (the previous chapter covered these). It explains why designers talk about "the" colour wheel when there are at least three in daily use, and why the answer to "what is the complement of this colour?" changes with the wheel you pick.
One question, several wheels
Ask a painter for the opposite of red and you will hear "green". Ask a screen developer for the opposite of red and you will hear "cyan". Both are right. They are working with different colour models.
A colour model is a system for describing colours as combinations of a few base ingredients. Each model has its own ingredients, its own rules for mixing, and its own wheel. The three you will meet most often are:
- RYB: red, yellow, blue. A traditional model from painting and art teaching.
- RGB: red, green, blue. The model for light, used by screens.
- CMY(K): cyan, magenta, yellow, and (in the K version) black. The model for ink, used in printing.
A colour wheel is a circle that arranges hues in order, so that neighbouring hues look similar and hues far apart look different. The wheel is a picture of a model. Change the model and the picture changes.
Additive and subtractive mixing
The models split into two families, based on what happens when you combine colours.
Additive mixing starts with darkness and adds light. A screen pixel that is off is black. Turn on red, green, and blue light together at full strength and you get white. RGB is additive.
Subtractive mixing starts with a white surface, such as paper, and adds pigment or ink that absorbs (subtracts) some of the light. More ink absorbs more light, so the result gets darker. Mix all your paints and you get a muddy dark brown or grey, not white. CMY(K) is subtractive. RYB is a subtractive model too, although it is a rough one, as the next section shows.
| Property | RYB | RGB | CMY(K) |
|---|---|---|---|
| Typical medium | Paint, traditional art | Screens, web, video | |
| Mixing type | Subtractive (approximate) | Additive | Subtractive |
| Primaries | Red, yellow, blue | Red, green, blue | Cyan, magenta, yellow |
| Starting surface | White canvas | Black screen | White paper |
| All primaries together | Dark brown or grey | White | Dark, near black |
| Complement of red | Green | Cyan | Cyan-leaning green |
RYB: the artist's wheel
RYB is the wheel taught in art classes. Its history is long. Painters and teachers used red, yellow, and blue as primaries for centuries because those pigments were easy to obtain and gave useful mixes. Its secondary colours are:
- Red + yellow = orange
- Yellow + blue = green
- Blue + red = purple
In RYB, the opposite pairs are red and green, blue and orange, and yellow and purple. These are the pairs most people learn first, and they underlie a lot of design advice, such as "orange and blue make a strong pair".
RYB has a weakness. Real paints do not behave like the clean model. A pure blue and a pure red pigment mix to a dull purple, not a vivid one, and no set of three paints can produce every colour. The model is a teaching tool and a rule of thumb. It is not a measurement of how light or ink behaves.
RGB: the screen's wheel
Screens make colour by emitting light from small red, green, and blue elements. Mixing two lights adds their energy:
- Red + green = yellow
- Green + blue = cyan
- Blue + red = magenta
So yellow, cyan, and magenta are the secondary colours of RGB. The wheel has red at 0 degrees, yellow at 60, green at 120, cyan at 180, blue at 240, and magenta at 300. Opposite pairs sit 180 degrees apart:
- Red (0) and cyan (180)
- Yellow (60) and blue (240)
- Green (120) and magenta (300)
This is the wheel behind the HSL colour notation in CSS. When code adds 180 to a hue, it is finding the complement on the RGB wheel. That detail matters later in this tutorial, when we generate harmonies by rotating hue values.
:root {
--base-hue: 0;
}
.red {
background: hsl(var(--base-hue) 80% 50%);
}
/* On the RGB wheel, the complement of red is cyan. */
.cyan {
background: hsl(calc(var(--base-hue) + 180) 80% 50%);
}Run this on a page and the second block renders as cyan, not green. If you expected green because you learned RYB, the code has done nothing wrong. It uses a different wheel.
CMY(K): the printer's wheel
Printing works on white paper, so it needs a subtractive model. Cyan, magenta, and yellow inks each absorb one third of the visible spectrum:
- Cyan ink absorbs red light.
- Magenta ink absorbs green light.
- Yellow ink absorbs blue light.
Combine cyan and yellow and you absorb red and blue, leaving green. Combine magenta and yellow and you leave red. Combine cyan and magenta and you leave blue. Notice that the secondary colours of CMY are the primaries of RGB, and the other way round. The two models are mirror images of each other, which is why a CMY wheel looks very much like the RGB wheel.
In theory, equal amounts of all three inks give black. In practice, the result is a muddy dark brown, and it wastes ink and soaks the paper. Printers therefore add a fourth ink, K, which stands for "key" and is black. The K ink gives clean black text, deeper shadows, and cheaper printing.
Printing has another catch. Ink cannot reproduce every colour a screen can show. A saturated RGB cyan or green often looks duller in print. The range of colours a device can produce is its gamut. The CMYK gamut is smaller than the RGB gamut in many areas, so a design that moves from screen to print needs a check.
Why the complement depends on the wheel
The complement of a colour is the colour directly opposite it on the wheel. Because the wheels place hues differently, the same starting colour has different complements.
| Starting colour | Complement on RYB | Complement on RGB |
|---|---|---|
| Red | Green | Cyan |
| Yellow | Purple | Blue |
| Blue | Orange | Yellow |
| Green | Red | Magenta |
Two things explain the gaps.
- The primaries differ. RYB treats yellow as a primary and puts blue opposite orange. RGB treats yellow as a mix of red and green light, and puts it opposite blue.
- The spacing differs. On the RYB wheel, there is a wide band of green, and the wheel has no cyan as a distinct step. RGB spaces its six main hues evenly, 60 degrees apart.
The following diagram shows how one starting colour leads to different answers.
Neither answer is a mistake. Each is correct for its model.
Which wheel should you use?
Match the wheel to the medium where the work will be seen, and to the kind of advice you are following.
- For screen work, such as websites, apps, and video, the underlying model is RGB. HSL values, hex codes, and colour pickers all follow it. Rotating hue by 180 degrees in code gives an RGB complement.
- For print work, check your colours in CMYK mode before you commit. The wheel will look similar to RGB, but some bright hues will shift or dull.
- For traditional painting, RYB is a useful starting guide, but test with real pigments, because their behaviour differs from the model.
- For design principles and mood, such as "complements create tension", the RYB and RGB wheels give the same kind of effect even where the exact hues differ. A pair of opposites on either wheel contrasts strongly.
A common practical approach is to design on the RGB wheel because that is what the tools use, and to treat RYB pairs as a sanity check for how people expect colours to feel. Many designers also adjust a computed complement by eye. A mathematically exact opposite can look harsh, and a small shift in hue or lightness often gives a better result.
Common errors
- Assuming a single "correct" complement. Always ask which wheel a rule or tool uses.
- Mixing advice from different wheels in one workflow, for example picking an RYB pair from a book and then finding it by adding 180 to a hue in CSS.
- Trusting screen colours in print without a CMYK check.
- Treating the RYB model as physics. It is a convention, and real pigments deviate from it.
- Forgetting that HSL's hue angle is tied to RGB. Hue 60 is yellow in CSS, but halfway between red and yellow-green on many artist wheels.
Summary
There is more than one colour wheel because there is more than one way to make colour. Light adds (RGB), ink subtracts (CMY(K)), and traditional paint teaching uses an older, approximate model (RYB). Each model has its own primaries, secondaries, and opposite pairs. Pick the wheel that matches your medium, and state which one you are using whenever you talk about complements.
Exercise
A designer adds 180 to the hue of a red button in CSS (hue 0) and gets cyan. A painter friend says the complement of red should be green. Who is right, and why do they disagree?
Show answer
Both are right. The CSS hue wheel is based on RGB, where red sits opposite cyan at 180 degrees. The painter uses the RYB wheel, where red sits opposite green. The two models use different primaries and spacing, so the same starting colour has different opposites.
Exercise
You finish a poster design on screen using bright RGB colours and send it to a commercial printer. Name the colour model the printer uses, say whether it is additive or subtractive, and describe one change you might see.
Show answer
The printer uses CMYK, which is subtractive because inks absorb light from white paper. Bright, saturated screen colours, especially vivid cyans and greens, may look duller because the CMYK gamut is smaller than the RGB gamut. Check the design in CMYK mode before printing.