Colour in interfaces
Using colour to show meaning, state and importance, such as which message is an error. Colour draws the eye only when it clearly differs from the colours around it.
Also called colour in UI, colour palettes
Example
A to-do app uses one accent colour only for the 'Add task' button, and red only for overdue tasks.
When to use it
Keep colour codes to a small set and give each colour one job.
Watch out
How people link colours to feelings partly differs by culture: in one study, white was linked with sadness in China and purple with sadness in Greece.
Types and parts 3 parts
The evidence 5 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
Colour is one of the few visual features that reliably draws attention when people search a screen, but an item only stands out if its colour is clearly different from the colours around it.
In controlled tests, only about seven carefully chosen colours could be told apart quickly when shown together, which supports keeping colour codes to a small set.
GOV.UK gives each functional colour one job: yellow only for keyboard focus, red for errors, green for success, and set colours for link states.
GOV.UK tells teams to always use its set palette and to use functional colours only for the purpose they were made for.
Across 30 nations, people link colours to emotions in broadly similar ways, but the links also vary with language, location and culture; for example, white was linked with sadness in China and purple with sadness in Greece.