Sub topic 8
Tints, tones, and shades of a single hue
This chapter assumes you know what hue, saturation, and value mean, that you can read the HSV and HSL models, and that you can read short CSS and Python snippets. Here you will use those controls to build a family of related colors from one hue.
The three classic moves
Painters have long described color variations by what they mix into a pure hue. Each mix maps onto a change in saturation or value.
| Name | Traditional recipe | Effect on the color | Typical HSL change |
|---|---|---|---|
| Tint | Add white | Lighter and less saturated in appearance | Raise lightness |
| Shade | Add black | Darker | Lower lightness |
| Tone | Add gray | Muted, with similar lightness | Lower saturation |
The hue stays the same in all three. That is why the results look like relatives of one color instead of three different colors.
A fourth term, "pure hue" or "full-chroma color," names the starting point: the hue at maximum saturation and mid-range value, with nothing mixed in.
Why the digital version differs from paint
With paint, adding white also lowers the purity of the pigment. In HSL and HSV, you control each property separately, so you choose exactly what changes. This gives you two practical points:
- A "tint" in HSL is usually made by raising lightness. The saturation number can stay the same, but the color looks paler because it is closer to white.
- In HSV, a tint lowers saturation while value stays high. A shade lowers value while saturation stays the same.
The same visual idea therefore has different numeric recipes in each model. Pick the model, then follow its recipe consistently.
Recipes in HSV and HSL
Start with a base color. Here the base is a blue at hue 210.
| Variant | HSV recipe | HSL recipe |
|---|---|---|
| Tint | Keep H, lower S, keep V high | Keep H and S, raise L |
| Shade | Keep H and S, lower V | Keep H and S, lower L |
| Tone | Lower S, keep V roughly the same | Lower S, keep L |
In HSL, tints and shades are one-dimensional: you slide along the lightness axis. In HSV, tints and shades move in different directions. A tint moves toward the white corner of the model (low S, high V). A shade moves toward the black corner (low V).
Building a scale in CSS
A single hue variable can drive the whole family. This is the pattern from the topic's CSS example, extended.
:root {
--brand-hue: 210;
/* Tints: raise lightness */
--brand-tint-1: hsl(var(--brand-hue) 80% 65%);
--brand-tint-2: hsl(var(--brand-hue) 80% 85%);
/* Base */
--brand: hsl(var(--brand-hue) 80% 45%);
/* Shades: lower lightness */
--brand-shade-1: hsl(var(--brand-hue) 80% 32%);
--brand-shade-2: hsl(var(--brand-hue) 80% 20%);
/* Tones: lower saturation */
--brand-tone-1: hsl(var(--brand-hue) 50% 45%);
--brand-tone-2: hsl(var(--brand-hue) 25% 45%);
}To change the whole family to a different hue, edit --brand-hue and nothing else. This is the main advantage of building scales from a hue number.
Naming the steps
Many design systems label steps with numbers, such as 50, 100, 200, up to 900, where low numbers are light and high numbers are dark. A numbered scale lets the team talk about "brand-200 for backgrounds and brand-700 for text" without discussing exact color values.
:root {
--blue-100: hsl(210 80% 92%);
--blue-300: hsl(210 80% 76%);
--blue-500: hsl(210 80% 50%);
--blue-700: hsl(210 80% 30%);
--blue-900: hsl(210 80% 14%);
}Generating the scale in code
You can compute the same variants in Python. This example uses colorsys, which works with HSV and expects every value between 0 and 1.
import colorsys
def to_hex(r, g, b):
return "#{:02x}{:02x}{:02x}".format(
round(r * 255), round(g * 255), round(b * 255)
)
def variants(hue_degrees, s=0.8, v=0.85):
h = hue_degrees / 360
out = {}
# Tints: lower saturation, keep value high
for name, factor in [("tint-1", 0.6), ("tint-2", 0.3)]:
out[name] = to_hex(*colorsys.hsv_to_rgb(h, s * factor, 1.0))
# Base color
out["base"] = to_hex(*colorsys.hsv_to_rgb(h, s, v))
# Shades: lower value, keep saturation
for name, factor in [("shade-1", 0.7), ("shade-2", 0.45)]:
out[name] = to_hex(*colorsys.hsv_to_rgb(h, s, v * factor))
# Tones: lower saturation, keep value
for name, factor in [("tone-1", 0.6), ("tone-2", 0.3)]:
out[name] = to_hex(*colorsys.hsv_to_rgb(h, s * factor, v))
return out
for name, color in variants(210).items():
print(name, color)Each step multiplies a single property by a factor and leaves the others alone. Because the code changes one property at a time, you can predict the result and debug it.
Edge cases and common errors
Shades that turn muddy or dull
Lowering value in HSV, or lightness in HSL, drives the color toward black. Near black, hue becomes hard to see, so very dark shades of different hues look alike. If your darkest steps look gray, check whether you reduced lightness too far, or raise saturation slightly in the dark steps to keep some hue identity.
Tints that look washed out
In HSL, pushing lightness near 100% gives near-white colors whatever the hue and saturation are. A tint at hsl(210 80% 98%) is almost indistinguishable from white. Stop earlier, or use the lightest step only for large background areas where a faint hint of hue is the goal.
Tones that look dirty
Tones are useful because they feel calm and professional. At very low saturation, however, a tone becomes a plain gray with a faint cast. That is sometimes what you want for neutrals tinted toward your brand. It is a mistake if you expected a recognizable color.
Confusing the two models
Applying an HSV recipe to an HSL color gives wrong results. For example, halving HSV value darkens a color, while halving HSL lightness also darkens it but by a different amount, and the saturation numbers mean different things in each model. Two colors with the same S number in HSV and HSL are generally not equally colorful. Keep one model per scale.
Equal steps that do not look equal
Numeric steps do not guarantee even visual steps. A blue and a yellow at the same HSL lightness look quite different in brightness. A scale of equal lightness increments can look uneven, especially across yellows and greens. A later chapter covers perceived lightness. For now, check scales by eye, and adjust individual steps when one looks out of rhythm.
Rounding and out-of-range values
In code, saturation and value must stay inside their valid range. Multiplying by a factor above 1 can push a value past the maximum. Clamp results, for example with min(1.0, max(0.0, x)), before converting.
Choosing which move to use
| Goal | Best move | Reason |
|---|---|---|
| Page or card backgrounds | Tint | Light and quiet, with text on top staying legible |
| Text and icons on light backgrounds | Shade | Dark enough for contrast |
| Disabled states and secondary UI | Tone | Reduced emphasis without changing hue |
| Hover and pressed states | Small shade steps | Slightly darker feels "pressed" |
| Illustrations with a limited look | Mix of all three | Shows depth while staying cohesive |
A worked example
Suppose you need a five-step scale for a teal brand color at hue 175.
- Pick the base:
hsl(175 70% 40%). - Make two tints by raising lightness to 60% and 88%. Lower saturation a little for the lightest step so it does not glow:
hsl(175 60% 88%). - Make two shades by lowering lightness to 28% and 16%. Keep saturation near 70% so the darkest step still reads as teal.
- Make a tone for disabled buttons:
hsl(175 25% 40%). - Check the scale next to a white background and a near-black one, and adjust any step that looks out of rhythm.
:root {
--teal-100: hsl(175 60% 88%);
--teal-300: hsl(175 65% 60%);
--teal-500: hsl(175 70% 40%);
--teal-700: hsl(175 70% 28%);
--teal-900: hsl(175 70% 16%);
--teal-muted: hsl(175 25% 40%);
}Exercise
You have the HSL color hsl(30 90% 50%). Write one color for each of a tint, a shade, and a tone of it, and say which property you changed. Then explain why changing the hue to 60 would not give you a tint, shade, or tone.
Show answer
A tint raises lightness: hsl(30 90% 80%). A shade lowers lightness: hsl(30 90% 25%). A tone lowers saturation while keeping lightness: hsl(30 30% 50%). Tints, shades, and tones are all variants of the same hue. Changing the hue to 60 gives a different color family (yellow instead of orange), so it is a new color, not a variant of the original.
Exercise
A Python script multiplies HSV value by 1.4 to make a "lighter" version of a color with v = 0.85. What goes wrong, and what is a better way to make a lighter version in HSV?
Show answer
0.85 × 1.4 = 1.19, which is above the valid maximum of 1.0, so the conversion gives invalid or clipped output. Also, raising value alone does not make a pale color. For a tint in HSV, lower saturation (for example multiply s by 0.5) and keep value high, clamping any result to the range 0 to 1.