Sub topic 6
Tints, tones, and shades
This chapter assumes you can describe a colour by hue, saturation, and lightness, and that you have used a colour picker. It also assumes you know the wheel places hues by angle. The chapter covers three ways to change a colour without changing its hue. Later chapters use these changes to extend a harmony and to balance a palette.
One hue, many colours
A colour wheel shows hues at full strength. Real designs rarely use only those pure hues. A website might use a pale blue background, a mid blue button, and a near-black navy for text. All three are the same hue, and they look different because something else was mixed in.
Traditional colour theory names three mixtures:
- A tint is a hue mixed with white.
- A shade is a hue mixed with black.
- A tone is a hue mixed with grey, which is a blend of white and black.
In all three, the hue angle stays put. Only the purity or the brightness changes. This is why tints, tones, and shades extend a harmony without breaking it. A complementary pair of blue and orange can grow into a palette of a dozen colours, and every one of them is still on one of the two original hue angles.
What each mixture does
The effect shows up in the hue, saturation, and lightness attributes.
| Name | Mixed with | Lightness | Saturation (perceived) | Typical feel |
|---|---|---|---|---|
| Tint | White | Higher | Lower | Soft, airy, pastel |
| Tone | Grey | Roughly the same | Lower | Muted, subtle, mature |
| Shade | Black | Lower | Lower (looks deeper) | Rich, heavy, serious |
The word "perceived" matters here. Different tools define saturation differently. In the HSL model, a tint made by raising lightness can keep its saturation value at 65% while looking much paler. In other models, such as HSV or the perceptual OKLCH, adding white lowers the saturation or chroma value. Check how your tool defines each number before you copy values between tools.
Building them in CSS
CSS has two practical ways to make these variations. The first is to edit the HSL numbers directly. The second is the color-mix() function, which mixes colours the way paint mixing is described in theory.
Here is the direct HSL approach. Raising lightness approximates a tint, lowering saturation makes a tone, and lowering lightness makes a shade.
:root {
--hue: 210;
}
.base { background: hsl(var(--hue) 65% 45%); color: white; }
.tint { background: hsl(var(--hue) 65% 80%); color: #111; }
.tone { background: hsl(var(--hue) 25% 45%); color: white; }
.shade { background: hsl(var(--hue) 65% 22%); color: white; }Here is the mixing approach. The percentage says how much of the base colour stays in the result.
:root {
--base: hsl(210 65% 45%);
}
.tint { background: color-mix(in srgb, var(--base) 40%, white); color: #111; }
.tone { background: color-mix(in srgb, var(--base) 60%, #808080); color: white; }
.shade { background: color-mix(in srgb, var(--base) 60%, black); color: white; }The two approaches give similar but not identical results. HSL editing keeps the hue angle exactly. Mixing in sRGB can nudge the apparent hue slightly, especially when the mix is far from the base. If hue fidelity matters more than convenience, use the HSL approach, or mix in a perceptual space such as in oklch.
Generating a scale in JavaScript
A palette often needs a whole ramp, such as a base colour with four lighter and four darker steps. A short function can produce it. This one follows the style of the hue-rotation helper you will meet later in the tutorial.
function clamp(value, min, max) {
return Math.min(max, Math.max(min, value));
}
function variations(hue, saturation, lightness) {
const make = (s, l) => `hsl(${hue} ${clamp(s, 0, 100)}% ${clamp(l, 0, 100)}%)`;
return {
tints: [15, 30, 45].map((step) => make(saturation, lightness + step)),
tones: [15, 30, 45].map((step) => make(saturation - step, lightness)),
shades: [10, 20, 30].map((step) => make(saturation, lightness - step)),
};
}
const result = variations(210, 65, 45);
console.log(result.tints);
console.log(result.tones);
console.log(result.shades);Running this prints three arrays of hsl(...) strings, each one a ramp from the base colour towards white, grey, or black. The clamp call keeps values inside the legal 0 to 100 range, so a large step can never produce an invalid colour.
Edge cases and common errors
Lightness at the extremes erases the hue. At 0% lightness every hue becomes black. At 100% lightness every hue becomes white. The hue angle is still stored in the value, but you cannot see it. A "tint" at 98% lightness is effectively white, so a palette built from very high lightness steps may lose its character. Stop short of the ends. Steps between roughly 10% and 95% keep the hue readable.
Saturation at 0% erases the hue too. A fully desaturated tone is a plain grey. A tone should stay somewhere between a pure hue and grey, so keep some saturation.
Equal lightness values do not look equally bright. Yellow at hsl(60 100% 50%) looks far brighter than blue at hsl(240 100% 50%), although both say 50%. HSL lightness is a mathematical convenience, not a measure of what the eye sees. When you build tints and shades for two different hues, such as a complementary pair, compare them by eye or by a perceptual measure. Matching the HSL numbers alone can leave one hue dominating.
Shades of yellow turn muddy. Darkening yellow shifts it towards olive or brown. This happens because dark yellow looks like a different colour to people. Designers often move the hue slightly towards orange as they darken yellow, and slightly towards green as they lighten a red or orange. Treat the exact hue angle as a starting point, not a strict rule.
Tints and shades change contrast. Text on a tint background and text on a shade background pass or fail legibility checks for different reasons. A tint of a saturated colour is not automatically a safe background. The chapter on contrast covers how to measure this. For now, remember that choosing a tint or shade is also choosing a contrast level.
Using tints, tones, and shades in a harmony
These three variations let one harmony do the work of many colours. A few practical patterns follow.
- Backgrounds and surfaces. Use tints of the base hue for large, quiet areas. They carry the hue without competing with content.
- Text and borders. Use shades for dark text, outlines, and pressed states. A shade of your base hue usually looks more cohesive than pure black.
- Mature or calm palettes. Use tones. A palette made mostly of tones feels restrained, which suits editorial, wellness, or finance designs.
- Accents. Keep pure or high-saturation versions for the small elements that must stand out, such as buttons and links.
This leads into the next topic. If every colour in a palette is at full strength, nothing stands out. Tints, tones, and shades give you the quiet colours, and the pure hues serve as the loud ones. The proportion chapter shows how much of each to use.
Summary
A tint adds white, a tone adds grey, and a shade adds black. None of them changes the hue angle, so each one stays inside its harmony. In HSL you approximate them by raising lightness, lowering saturation, and lowering lightness. In CSS, color-mix() mirrors the paint-mixing idea more directly. The main hazards are losing the hue at the lightness extremes, trusting equal HSL lightness across different hues, and letting yellow turn muddy as it darkens.
Exercise
A designer wants a calm, muted version of hsl(150 70% 40%) that is about as light as the original, with no extra white or black added. Which kind of variation is this, and which single HSL value should change?
Show answer
This is a tone. Lower the saturation, for example to hsl(150 30% 40%), and leave the hue and lightness alone.
Exercise
You build a ramp for hsl(60 90% 50%) (yellow) by subtracting 10, 20, and 30 from the lightness. The darker steps look olive and dull. Name one cause and one fix.
Show answer
Darkening yellow shifts how people see it, so a dark yellow reads as olive or brown. One fix is to shift the hue slightly towards orange as the lightness drops, for example to a hue of about 50 at the darkest step. Another is to lower the saturation less aggressively and check the steps by eye instead of relying on the numbers.