Sub topic 5
Emphasis through color and value
This chapter assumes you know the basic vocabulary of color (hue, saturation) and value (how light or dark a color is). It also assumes you can read short CSS rules. The chapter explains how color and value pull the eye to one element, and where that goes wrong.
Value does most of the work
Value is the lightness or darkness of a color. The eye notices differences in value before it notices differences in hue. A dark word on a light page stands out because of the value gap, not because of its hue.
This is why a design that works in color should also work in grayscale. If the focal point survives with the hue removed, its emphasis rests on value, which is the sturdier foundation.
Two practical rules follow:
- Put the strongest value contrast where you want the eye to land.
- Keep secondary elements closer in value to their background, so they recede.
Saturation and hue add a second signal
Saturation is how pure or intense a color is. A saturated color against muted surroundings draws attention. Hue adds a second signal. A warm accent such as red or orange tends to advance, and a cool tone such as blue or gray tends to recede.
Emphasis from color depends on context, not on the color itself. A red button is a focal point on a gray page. The same button disappears in a page full of red.
| Tool | What it changes | Works best when |
|---|---|---|
| Value contrast | Light against dark | The focal point is much lighter or darker than its surroundings |
| Saturation contrast | Vivid against muted | Most of the layout is neutral or desaturated |
| Hue contrast | Warm against cool | The accent hue is rare in the rest of the layout |
A worked example
The card below uses all three tools. The heading is near black, so it has strong value contrast against the white background. The body text is a mid gray, so it recedes. The button is the only saturated color, so it becomes the focal point.
.card { max-width: 24rem; padding: 1.5rem; }
.card h2 { font-size: 2rem; font-weight: 700; color: #111; margin: 0 0 0.5rem; }
.card p { font-size: 1rem; font-weight: 400; color: #555; margin: 0 0 1.5rem; }
.card .cta { font-size: 1.125rem; font-weight: 600; color: #fff; background: #d62828; padding: 0.75rem 1.5rem; border: 0; border-radius: 0.25rem; }The heading leads through size and weight. The body text recedes through lighter color and weight. The single saturated red button wins by contrast. Notice that the color carries the call to action, so the page can stay otherwise neutral.
Common errors
- Too many accents. Each extra saturated color competes with the first. If a page has three bright colors, none of them is the focal point.
- Relying on hue alone. Red text on a green background can have nearly the same value. The contrast then vanishes in grayscale and for viewers with color vision deficiency.
- Emphasis on the wrong element. A bright decorative shape can outrank the headline. Check that your strongest contrast sits on the most important element.
- Accent used as decoration. If the accent color also appears on links, icons, and borders, it no longer marks one thing.
Checking the result
You can simulate a value test and a blur test in the browser. Apply these classes to a preview of your page and see whether the intended focal point still stands out.
.preview-blur { filter: blur(6px); }
.preview-gray { filter: grayscale(100%); }If the button vanishes under .preview-gray, it depends on hue alone. Darken the button or lighten the page until a value gap appears.
Exercise
A page has a red button on a green background. In a grayscale preview, the button blends into the background. What is the likely cause, and how do you fix it?
Show answer
The red and the green have nearly the same value, so the emphasis rests on hue alone. Fix it by changing the value of one of them, for example a much darker button or a lighter background, so a clear value gap remains when color is removed.
Exercise
A landing page uses a bright orange button, a bright blue banner, and a bright green badge. Why is no single element the focal point, and what would you change?
Show answer
Three saturated accents compete. Keep one saturated accent for the main action and mute the banner and badge by lowering their saturation or moving them closer in value to the background.