Hue is the part of a color that tells you whether it looks red, green, blue, or somewhere between. Picture a color wheel: hue is your position around it. Saturation controls how pure or gray that color looks; luminance controls how light or dark it looks. section 17.1
To choose a hue, start with these positions on the wheel:
- 0° is red. section 17.1
- 120° is green; 240° is blue. Values between them move through other colors. section 17.1
Make red text, then find its partner
In CSS, `h1 { color: hsl(0, 100%, 50%); }` makes headings red: the first number chooses the hue, while the percentages set saturation and luminance. Change the hue to 180 for cyan. Red and cyan are complementary colors because their hues sit 180° apart. Try using one as your page’s main color and the other as an accent. section 17.6 section 17.15
Want to experiment? Change only the first number in `hsl()` and watch the color change. For a page design, try sticking to two or three hues rather than a dozen. section 17.6 section 17.15





