Pebellslearn by building
0%
RoadmapsMatrixCoursesSandboxSign in
Visual and Interface Foundations  ›  Lesson

Colour

Color 12 minIn a product interface each colour should have one role, text must meet contrast minimums, and no state should be signalled by colour alone.

Colour

On the first visual draft of LunchLoop's Today card, the Change button, the locked label, the credit amount and the cook's name are all brand orange. Everything shouts, so nothing stands out. Worse, the locked and open states differ only by colour, so a subscriber who cannot tell orange from grey cannot tell whether they can still change lunch.

The rule

Give every colour a job, and never let colour work alone.

Colours get roles, not moods. A product palette is organised by what each colour does:

  • Neutrals: backgrounds, body text, borders and dividers. Most of the screen.
  • Primary (brand) colour: the main action and a few key highlights. Used sparingly.
  • Semantic colours: success, warning, error and information, each meaning exactly one thing everywhere in the product.

A common starting balance is roughly 60/30/10: mostly neutrals, some secondary colour, a little accent. The accent keeps its pull only because it is rare.

Contrast keeps text readable. The WCAG accessibility guidelines, at level AA, ask for at least 4.5:1 contrast between normal-size text and its background, and 3:1 for large text and for the icons and control edges people need to see.

Colour never works alone. Roughly 1 in 12 men has some form of colour-vision deficiency, and bright sunlight on a phone screen washes out colour for everyone. So every state that colour signals also gets a word, an icon or a shape: a lock icon and the word "Locked", not just a grey tile.

One colour, one meaning. If green means "confirmed", it cannot also decorate a promotion banner.

The shortcut

Run the greyscale test: look at the screen with all colour removed. If the most important element still stands out and every state can still be told apart, colour is supporting the design rather than carrying it.

Fixing the Today cardStep 1 of 4
  1. Assign roles

    Orange means the primary action, and nothing else. Neutrals carry the meal name and the cook's name. Green means confirmed. Grey means locked.

Drills

Answer fast — trust the rule.

quick drill

Under WCAG level AA, what is the minimum contrast for normal-size body text?

quick drill

A form shows errors only by turning the field border red. What is the problem?

quick drill

Why keep the brand accent to a small share of the screen?

quick drill

LunchLoop uses green for "Confirmed" and also for a "Try our new dessert box" banner. What is wrong?

Remember

  • Give every colour a job, and never let colour work alone.
  • Shortcut: the greyscale test; the key element and every state must survive without colour.
  • Trap: low-contrast brand colours on text, and states told apart by colour only.

Practice — level up

0/1 solved

Write your answer, then compare it with a rubric and a model answer.

ExplainA palette with jobs

Define a colour palette by role for LunchLoop's plan screen, with at least four roles, and explain how you would make the Locked state clear to someone who cannot see colour differences.