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



