Sub topic 3
Reading the colour wheel
This chapter assumes you can name basic colours, have used a colour picker, and know that a colour can be described by hue, saturation, and lightness. Here you will learn how a wheel arranges hues, how to read positions and distances on it, and where the common mistakes come from.
What the wheel represents
A colour wheel is a circle of hues. Hue is the "which colour" attribute: red, orange, yellow, green, blue, violet, and everything between. The wheel bends the straight spectrum of visible light into a loop so that the two ends, red and violet, meet through magenta and purple. That magenta region does not exist as a single wavelength of light. It is a mixture the brain constructs, and it is the reason a circle fits better than a line.
The wheel shows hue only. Saturation and lightness are not part of the circle itself. Think of the wheel as a slice through a larger solid:
- Angle around the circle is hue.
- Distance from the centre is saturation. The rim is the most vivid version of each hue, and the centre is grey.
- Lightness is a third axis, pointing up and down through the centre.
Most printed wheels show only the rim at one fixed saturation and lightness. Most software pickers show the rim plus one of the other two axes at a time.
Positions as angles
Software describes a hue as an angle from 0 to 359 degrees. In the HSL model used by CSS, the usual layout is:
| Angle | Hue |
|---|---|
| 0 | Red |
| 60 | Yellow |
| 120 | Green |
| 180 | Cyan |
| 240 | Blue |
| 300 | Magenta |
| 360 | Red again, same as 0 |
Angles wrap. Hue 370 is the same as hue 10, and hue -30 is the same as hue 330. This wrap-around is why later chapters use a modulo step when generating palettes.
Once colours are angles, every harmony becomes a simple rule about distance. Opposite colours are 180 degrees apart. Neighbours are within roughly 30 degrees. Three evenly spaced colours are 120 degrees apart. Reading the wheel mostly means judging these distances quickly.
:root {
--hue: 30;
}
.swatch-a { background: hsl(var(--hue) 70% 50%); }
.swatch-b { background: hsl(calc(var(--hue) + 30) 70% 50%); }
.swatch-c { background: hsl(calc(var(--hue) + 60) 70% 50%); }The three swatches above step around the wheel in 30 degree increments, from orange toward yellow. Changing --hue slides all three together while keeping their spacing.
How the wheel is divided
Wheels are usually built in layers, and you can read them from the inside out.
- Primary colours are the starting hues that the wheel's model treats as basic. They are spaced evenly, 120 degrees apart.
- Secondary colours sit halfway between two primaries. They are made by mixing the primaries on either side.
- Tertiary colours sit between a primary and its neighbouring secondary. They have two-part names such as red-orange or blue-green.
The 12-step wheel is the standard teaching version: three primaries, three secondaries, six tertiaries, each 30 degrees from the next. Twelve steps are enough to judge harmony by eye. A 24-step or continuous wheel, which is what a software picker shows, gives finer control but the same logic.
A later chapter covers primaries, secondaries, and tertiaries in detail. For now, remember that the wheel is a map of spacing, and these names are labels for positions on it.
Which wheel you are reading
Two wheels are in common use, and they disagree about where some colours sit.
- The traditional artist's wheel uses red, yellow, and blue (RYB) as its primaries. It comes from pigment mixing and is what most painting and design courses teach.
- The screen wheel uses red, green, and blue (RGB) as its primaries. It describes light, and it is what HSL and the CSS
hsl()function are built on.
The difference matters most for complements. On the RYB wheel, the complement of red is green. On the HSL wheel, the complement of red is cyan, because cyan sits at 180 degrees from hue 0. The complement of blue on the RYB wheel is orange. On the HSL wheel, the complement of blue at hue 240 is yellow at hue 60.
The colour wheel in a design tool therefore changes the answer to "what is the opposite of this colour?" If you pick colours by angle in code, you are using the RGB-based wheel whether or not you intended to. If you want RYB-style pairings, you need to choose hues by eye or use a tool that remaps the wheel. A later chapter on colour models covers the reasons for this in more depth.
Reading uneven spacing
The HSL wheel is mathematically even, but it is not perceptually even. Equal angles do not give equal visual change.
- Between about 90 and 150 degrees, the greens cover a wide range. Many hues look like similar greens.
- Near 0 to 60 degrees, a small change in angle moves from red to orange to yellow very quickly.
- Yellow at 60 degrees looks far lighter than blue at 240 degrees, even though both are drawn at the same HSL lightness of 50%.
The last point is the one that causes the most errors. HSL lightness is a calculation on the RGB numbers, not a measure of how bright a colour looks. Two colours with the same hsl() lightness can differ a great deal in perceived brightness. So when you build a harmony by rotating hue, the result has the correct geometry but may have unbalanced visual weight. You often have to adjust lightness per colour after rotating.
Warm and cool regions
You can also read the wheel as two halves. Reds, oranges, and yellows form the warm side. Greens, blues, and violets form the cool side. The split is approximate and the edges are soft: a yellow-green can feel warm or cool depending on what surrounds it, and a violet leans warm when it has more red.
The warm and cool division is useful because it gives you a quick check on mood and depth before you consider exact angles. Warm colours tend to feel closer and more energetic. Cool colours tend to feel farther away and calmer. A later chapter develops this idea.
Common errors when reading the wheel
- Treating the wheel as a full description of a colour. It shows hue only, so two colours at the same position can be a pale pastel and a deep, dark tone.
- Forgetting the wrap. Subtracting 30 from hue 10 gives 340, not -20, in any system that expects a value from 0 to 359.
- Mixing wheels. Taking "red and green are opposites" from an artist's wheel and then computing a complement as hue plus 180 in CSS gives cyan, not green.
- Trusting equal angles to look equal. Check perceived brightness after rotating hue.
- Reading by eye on a low-quality display or in a tinted viewing mode. Colour judgements shift when the screen is not calibrated.
Putting it into practice
A quick routine for reading any wheel:
- Find your base hue and note its angle.
- Decide which wheel you are using, RYB or RGB.
- Mark the points 30, 120, and 180 degrees away. These are the neighbour, triadic, and opposite positions.
- Note whether each point falls on the warm or cool side.
- Adjust saturation and lightness afterward so the colours carry similar visual weight.
Exercise
A colour has HSL hue 20. You subtract 60 degrees to find a neighbour in the other direction. What hue value should you use, and why does the wheel allow it?
Show answer
Use 320. Subtracting 60 from 20 gives -40, and adding 360 wraps it back into the 0 to 359 range. The wheel is a circle, so a negative angle is the same position as 360 minus that amount.
Exercise
Using the HSL wheel, what is the complement of blue at hue 240, and how does it differ from the complement on the artist's RYB wheel?
Show answer
On the HSL wheel the complement is at hue 60, which is yellow. On the RYB wheel the complement of blue is orange. The two answers differ because the wheels use different primaries.
Exercise
Two swatches are both hsl(h 70% 50%), one at hue 60 and one at hue 240. Why might they look unequal in brightness, and what would you change?
Show answer
HSL lightness is calculated from the RGB values and does not match perceived brightness. Yellow looks much lighter than blue at the same setting. Lower the lightness of the yellow or raise the lightness of the blue until they look balanced.