liveBook · Manning

Color

As explained in Design for Developers

Color is the visual attribute of elements defined by their perceived hue, lightness, and saturation.

Color helps a web interface establish visual hierarchy, convey a feeling, and draw attention to what a user should do next. It also changes how a page is perceived: two identical colors can look different when their surroundings change. section 1.2 section 9.0 section 9.2.2

Figure 9.1 Adelson’s checker-shadow is an optical illusion where squares A and B are the same color. (Source: Edward H. Adelson. Licensed under CC BY-SA 4.0)

The checker-shadow illusion shows why a color should be judged in context: squares A and B appear different but are the same color side by side. section 9.0

To build a palette for a website or app:

  • Use the color wheel and relationships such as monochromatic, complementary, analogous, triad, or split complementary to choose a scheme. section 9.9
  • Choose one base color to appear most often, then one or two accents. Make tints and shades, and add a few grays for neutral areas. section 9.4
  • Apply the colors across the interface. If the proportions feel unbalanced, try the 60/30/10 rule as a starting point—not a fixed requirement. section 9.4 section 9.2.2
  • Check that text is readable with a contrast tester. Pair color-coded states, warnings, and errors with labels or icons rather than relying on color alone. section 9.9 section 9.6.2

When color is the only instruction

A faint bronze elevator button or a route identified only as the red or blue line can be hard to distinguish. The same problem appears in an interface when a red background is the only sign of an error; a text label or icon adds the missing context. section 9.6.2

Too many competing colors can overwhelm users; too little contrast can leave the next action unclear. To sharpen your judgment, study interfaces you like: sample their colors with a design-tool color picker, identify their relationships, and notice how much space each color occupies. section 9.2.2

How Design for Developers covers it

How deep it goes
Develops palette selection, proportions, and accessible use; flags web color modes and screen discrepancies without detailing them in the supplied passages.
Examples
Uses a checker-shadow illusion, airport wayfinding failures, and sampled interface palettes to make color perception and application concrete.
What it assumes
Starts with foundational web design principles and introduces color-wheel relationships rather than assuming specialist design knowledge.
What you can do after
Practice/perform palette selection and application, then check text contrast and add non-color cues to important states.
How it connects
Links color to visual hierarchy, typography, layout, the color wheel, contrast, and accessibility.

Also explained in

Compare how 4 books explain color →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Design for Developers. The section links point to the parts of the book it draws on.