Color Palettes: How to Pick, Build & Test
Building a color palette is one of the first decisions in any design project, and it shapes everything that follows — mood, hierarchy, brand recognition, and accessibility. This guide covers the full workflow: picking a starting color, generating harmonious palettes, naming colors for your system, and extracting palettes from existing imagery.
- Learn how to create cohesive color palettes from scratch.
- Covers picking your starting color.
- Covers palette generation methods.
- Covers harmony rules explained.
- Covers extracting colors from images.
Picking Your Starting Color
Every palette begins with a single color — usually your brand's primary. If you're working without existing brand guidelines, start with the emotion you want to convey. Blues and greens feel trustworthy and calm. Reds and oranges feel energetic and urgent. Purples feel creative and premium. The Color Picker lets you explore the full spectrum and capture exact values in HEX, RGB, or HSL.
Don't pick a color in isolation. Preview it on both light and dark backgrounds, at multiple sizes, and next to actual content. A color that looks great as a large hero background might feel overwhelming as a button or too weak as body text. Test your primary at 100% opacity and at reduced opacities — you'll need lighter tints for backgrounds and hover states.
Palette Generation Methods
Once you have a starting color, there are two approaches to building a full palette. The algorithmic approach uses the Palette Generator to apply color harmony rules — mathematical relationships on the color wheel that produce naturally pleasing combinations. The manual approach selects colors by eye, guided by a shared undertone or mood.
-webkit-backdrop-filter alongside backdrop-filter for Safari support. Without the prefix, the effect is invisible to roughly 25% of mobile users.The algorithmic approach is faster and more reliable for beginners. The manual approach gives experienced designers more creative control. Most production palettes use a combination: start with a generated harmony, then fine-tune individual colors by hand.
Harmony Rules Explained
Complementary
Two colors directly opposite each other on the wheel (180° apart). Maximum contrast, maximum energy. Great for CTAs that need to pop against a background. Use one color as dominant (70-80% of the design) and the complement as an accent (10-20%).
backdrop-filter inside a position: fixed element can cause severe scroll performance issues. Test thoroughly on real iOS devices.Analogous
Three colors next to each other on the wheel (within ~30°). Low contrast, harmonious, and soothing. Most natural scenes are analogous palettes. Works well for backgrounds, gradients, and designs that should feel unified rather than dynamic.
Triadic
Three colors equally spaced (120° apart). Vibrant and balanced, but can feel loud. Let one color dominate at 60%, use the second at 30%, and the third at 10%.
Split-complementary
A base color plus the two neighbors of its complement. Gives you the contrast of complementary with more variety and less tension. One of the easiest harmonies to work with.
Extracting Colors from Images
When you have a reference image — a photograph, illustration, or screenshot of a design you admire — the Image Color Extractor analyzes the image and identifies its dominant colors. This is useful for designing around hero photography, creating palettes inspired by nature, or reverse-engineering a color scheme from a competitor.
Upload an image and the tool identifies the 5-8 most prominent colors, sorted by dominance. The extracted colors often need slight adjustment — images contain many micro-variations that don't translate well to a clean design palette. Use the extracted colors as starting points, then refine with the palette generator.
Naming Colors for Design Systems
In production, colors need names — not just hex values. There are two naming approaches. Descriptive names like blue-500 or red-200 describe the color itself. Semantic names like primary, danger, or muted describe the color's purpose. Most design systems use both: a descriptive base palette and semantic aliases that map to it.
The Color Name Finder helps by identifying the closest named CSS color and common English name for any hex value. If your brand color is closest to "coral," you might name your scale coral-50 through coral-900.
How Many Colors Do You Need?
A typical web project needs one primary color with a full shade scale of 9-11 steps, one or two accent colors with shade scales, a neutral palette (grays with a warm or cool tint), and three to four semantic colors for success, warning, error, and info states. That's roughly 4-6 base hues with 9-11 shades each, totaling 40-60 color tokens.
The shade scales are generated automatically from each base color using the Color Shade Generator. The manual work is choosing the 4-6 base hues — the rest is algorithmic.
Testing Your Palette
Before committing to a palette, test it against three criteria. First, check every text/background combination for WCAG contrast compliance — aim for 4.5:1 minimum for body text. Second, run your key colors through the Color Blindness Simulator to ensure distinguishability under color vision deficiency. Third, apply the palette to a real layout to see if it feels balanced or if one color overwhelms the others.
The most common mistake is testing colors as equal-sized swatches when they'll actually be used in vastly different proportions. Your primary might cover 5% of the page (buttons, links) while your neutral covers 80% (backgrounds, text). Test at realistic proportions.
Pick, generate, extract, and name colors for your next project.