liveBook · Manning

Color palette

As explained in Design for Developers

A color palette, or color scheme, is a selected set of colors intended to be used together in a visual design.

A color palette, or color scheme, is a set of colors chosen to work together in a design. On a website, the choice is not just which colors look good side by side. It is also where each color goes: a prominent color can establish the brand, while a contrasting accent can draw attention to an action. Too many competing colors can overwhelm visitors; too little contrast can leave them unsure where to look next. section 9.4 section 9.2.2

Build a palette, then give its colors distinct jobs:

  • Use the color wheel to find a relationship. A monochromatic palette varies one color and can keep a busy page feeling harmonious. Complementary colors sit opposite each other and make a bolder pairing; decide which will dominate and which will be the accent. section 9.2.1
  • Pick one primary color, one or two accents, and several grays. Make tints and shades from the chosen colors; grays with a hint of the primary color can help the palette feel cohesive. section 9.4
  • Apply the primary color most often and reserve accents for places that need attention. If the amounts feel unbalanced, try the 60/30/10 rule as a starting point, not a requirement. section 9.4 section 9.2.2
  • Check whether text remains readable with a contrast tester. Do not make color the only way to communicate information: add a label or icon when meaning matters. section 9.9

A travel landing page

Start with a muted blue for the brand and make lighter blue tints. Add a restrained golden-yellow accent to highlight the search button and selected cards. Use blue in the header and footer, but keep large backgrounds subdued when imagery already supplies plenty of color. The accent then leads the eye toward actions instead of competing with the photographs. section 10.7

A palette also affects tone. Colors can evoke different feelings, but clashing choices may communicate carelessness instead of the intended mood. Study interfaces you admire: sample their colors with a design tool, identify the color relationship, and notice how much space each color occupies. Then test the palette on the actual page rather than judging swatches alone. section 9.3 section 9.2.2

Figure 10.13 After defining our color palette, we can use our palette to bring more hierarchy to the page. The gold accent color highlights the areas we want users to focus on and draws them down the page.

See how a muted primary color and a gold accent establish hierarchy and guide attention down a travel page. section 10.7

How Design for Developers covers it

How deep it goes
Works through choosing color relationships, building swatches, assigning UI roles, and checking readability; does not detail frontend implementation.
Examples
Uses a violet-blue monochromatic landing page and a muted-blue travel site with golden-yellow accents.
What it assumes
Introduces color-wheel relationships and color terminology before using them to choose and vary a palette.
What you can do after
Build it from scratch and apply it to a web interface, then check text contrast and reinforce color-coded meaning.
How it connects
Links the color wheel and color psychology to visual hierarchy, typography, calls to action, and accessibility.

Also explained in

Compare how 11 books explain color palette →

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.