Skip to main content

Colour Palettes from Photos: Design Tips

Turn photos into design palettes that actually work: the 60-30-10 rule, dominant vs accent, contrast, brand use, and the mistakes that make palettes muddy.

CompressMyPic Editorial Team · Published Nov 17, 2026 · 11 min read

Colour Palettes from Photos: Design Tips

A photo already contains a color palette that works. The light, the surfaces, and the subject conspired to produce colors that belong together, and a good designer can borrow that harmony wholesale.

The hard part is not finding the colors. It is choosing which ones to use, how much of each, and what to leave out, so the palette serves the design instead of fighting it.

This article covers the workflow: from an extracted palette to a working design system, with the rules, the ratios, and the mistakes that make photo palettes go wrong.

Why Photos Make Good Palettes

Photos capture colors as they appear in the real world, under real light, on real surfaces. Those colors already harmonize, because the light that lit the scene was the same for all of them.

A palette invented from scratch has no such guarantee. Two colors chosen separately can clash in ways that are hard to predict, while two colors from one photo have already proven they coexist.

Photos also carry mood. A warm sunset photo gives a warm palette, a cool ocean photo gives a cool one, and the mood transfers into the design without any extra effort.

The extractor makes this practical. It ranks the photo colors by coverage, so the palette you get is not just harmonious but also honest about which colors actually define the image.

Dominant Colors vs Accent Colors

Every palette has a hierarchy. The dominant color covers the most area and sets the tone, the secondary color supports it, and the accent colors appear in small amounts to draw the eye.

The percentage badges from the extractor show you the hierarchy directly. A color at 40 percent is a dominant, one at 15 percent is a secondary, and one at 3 percent is an accent.

Respect the hierarchy in your design. A palette used in the same proportions as the photo will feel natural, because it repeats the balance the eye already accepted in the image.

The most common mistake is promoting an accent to a dominant. A vivid red that covers 2 percent of a photo looks striking as a button, but it overwhelms the design when it fills half the page.

The 60-30-10 Rule

The 60-30-10 rule is the simplest way to apply a photo palette. Give the dominant color 60 percent of the space, the secondary color 30 percent, and the accent color the remaining 10 percent.

Start from the extractor percentages and round them to the rule. A photo with colors at 55, 30, and 8 percent is already close to the ideal, and the rule just formalizes what the photo was doing.

The rule works because it creates a clear hierarchy. The eye knows what is background, what is content, and what is emphasis, without having to work it out from context.

Break the rule deliberately when the design demands it, not accidentally. A poster that is 90 percent accent color is a bold choice, and it should be a choice, not a mistake.

Warm vs Cool Harmony

Photos lean warm or cool, and the palette inherits that lean. A desert photo gives warm oranges and browns, while a winter photo gives cool blues and grays.

A palette that mixes warm and cool colors can work, but it needs a clear leader. A warm palette with one cool accent feels intentional, while a palette split evenly between warm and cool feels undecided.

Check the hue values in the extractor output. Colors with hues near 0 to 60 degrees are warm, hues near 180 to 260 degrees are cool, and the balance between them tells you the temperature of the palette.

When a photo is mixed, choose the temperature that fits the message. A brand that wants energy keeps the warm colors and drops the cool ones, while a brand that wants calm does the opposite.

Contrast and Accessibility

A beautiful palette can still be unreadable. Text needs enough contrast against its background, and photo palettes do not guarantee that on their own.

Check every text and background pair from the palette for contrast. The lightest and darkest colors usually pass, while two mid-tone colors from the same photo often fail.

HSL helps here. Two colors with lightness values far apart will usually pass a contrast check, while two with similar lightness will fail, regardless of their hues.

When a pair fails, adjust the lightness, not the hue. Darken the text color or lighten the background by ten points, and the palette keeps its character while becoming readable.

From Palette to Design System

A palette becomes a design system when each color gets a role. Name the swatches by their job, such as background, surface, primary, secondary, accent, and text, instead of by their color.

Roles make the palette usable by a team. A developer who sees a variable called accent knows where to use it, while a variable called orange-3 invites guessing.

Generate shades from the base colors in HSL by changing only the lightness. A primary color at 50 percent lightness can produce a hover state at 42 percent and a disabled state at 70 percent, all clearly related.

Store the system as design tokens, and export them from the extractor JSON. The JSON gives you the base colors, and the tokens document the roles and the variants built from them.

Mood Boards from Photos

A mood board is a collection of photos that share a feeling, and their palettes should agree with each other. Extract a palette from each photo and compare them side by side.

When the palettes share a dominant hue or a similar temperature, the board feels coherent. When they pull in different directions, the board feels scattered, and one photo probably does not belong.

Use the palette cards from the extractor as the board itself. Each card shows the photo with its swatches, so the board communicates both the images and their colors at once.

A mood board built this way is also a decision record. When a client asks why these colors, the board shows the photos they came from, which is a stronger answer than a list of HEX codes.

Brand Palettes from Photos

Brands often start from a photograph: a founder portrait, a product shot, or a place that matters to the company. The palette extracted from that photo carries the brand story in its colors.

For brand work, extract from the best version of the source photo, then prune the palette to four or five colors. A brand palette needs to be memorable, and a twelve-color set is too many for anyone to remember.

Verify the key colors with the image color picker after extraction. The picker reads the exact pixel, which confirms the brand color when the extractor value is an average of a gradient.

Document the palette with its source photo, its HEX, RGB, and CMYK values, and its roles. A brand guide that shows the photo alongside the colors tells the story that a bare list cannot.

Seasonal and Cultural Cues

Colors carry associations that change with season and culture. An autumn photo gives oranges and browns that feel right in October and heavy in May, while a spring photo gives fresh greens that feel wrong in winter.

When you choose a photo as a palette source, consider when and where the design will be seen. A campaign palette should match its season, and a global brand palette should avoid colors with strong local meanings that clash with the message.

The extractor cannot judge these associations; it only reports the colors. The judgment belongs to the designer, who knows the audience and the moment.

When in doubt, test the palette with people from the audience. A five-minute conversation can reveal an association that hours of design work would have missed.

Avoiding Muddy Palettes

Photo palettes go muddy when too many mid-tone colors compete. A photo with five similar browns and grays produces a palette where nothing stands out and everything looks dull.

The fix is subtraction. Drop the mid-tones that are close to each other, keep the lightest and the darkest, and keep one clear accent. A palette with contrast is a palette with life.

Another cause of muddiness is mixing photos with different lighting. A warm photo and a cool photo each produce a good palette, but merging them gives a palette with no temperature at all.

When a palette feels muddy, check the HSL values. If the saturation values are all low and the lightness values are all in the middle, the palette needs a vivid accent and a dark anchor to give it shape.

Testing a Palette Before Committing

Test a palette in a real layout before you commit to it. A palette that looks good as swatches can fail as a page, because swatches do not show contrast, hierarchy, or readability.

Build a quick mock with the palette applied: a heading, a paragraph, a button, and a card. If the mock reads well, the palette works. If it feels off, the mock shows exactly which pair is wrong.

Test in grayscale as well. Convert the mock to black and white and check whether the hierarchy survives. A palette that depends only on hue will collapse, while one with lightness contrast will hold up.

Test on a phone screen too. Colors look different on small bright displays, and a palette that works on a large monitor can feel harsh or washed out on a phone.

Palette and Typography Together

Color and type work as a pair, and a palette choice constrains the typography. A busy, colorful palette needs quiet, simple type, while a restrained palette can carry a more expressive typeface.

Text color deserves the same care as the palette itself. The darkest color in the palette is usually the text color, and it should be dark enough to read comfortably at small sizes.

Links and interactive elements need a color that stands apart from the text. The accent color usually fills this role, and it should be distinct enough that a reader can spot a link without thinking.

When the palette comes from a photo, the photo itself can supply the type color. Sample the darkest shadow of the image with the picker, and that tone will harmonize with the palette by construction.

Iterating on a Palette

A palette is rarely right on the first extraction. Treat the first palette as a draft, use it in a mock, notice what fails, and extract again with a different photo or a different swatch count.

Keep the versions. A palette that was wrong for a website might be right for a poster, and a version you discarded can become the answer to a later brief.

Iterate in small steps. Change one color at a time, or change the count by one, so you can tell which change improved the result and which one made it worse.

Stop when the palette does its job. A palette that is good enough and in use beats a palette that is perfect and still being debated, and the extractor makes it cheap to revisit the decision later.

Palettes for Data Visualization

Charts and graphs need palettes with a different logic from layouts. Each data series needs a color that is distinct from the others at a glance, and the palette must stay readable when the series overlap.

Extract a palette from a photo and use it for a chart only after checking the colors against each other. Two colors that look different as swatches can look identical as thin chart lines, especially for readers with color vision differences.

For categorical data, choose colors with widely separated hues. A palette built from hues 0, 120, and 240 degrees apart gives series that are easy to tell apart even in a small legend.

For sequential data, use a single hue with varying lightness instead. A scale from light blue to dark blue reads as a progression, while a rainbow of hues reads as categories and confuses the message.

Test chart palettes in grayscale and with a color blindness simulator. A palette that survives both tests works for nearly every reader, which is the standard a public chart should meet.

Quick Reference: Photo Palette Workflow

Extract from a photo you love, read the percentages, apply the 60-30-10 rule, check contrast for text, and assign each color a role before you build anything.

Prune duplicates, rescue missing accents with the eyedropper, and test the palette in a real layout, in grayscale, and on a phone before you commit.

A photo palette works because the colors already proved they belong together. Your job is to choose, proportion, and name them, not to invent them from nothing.

To extract the palette, use the image color palette extractor, and for exact single pixels, use the image color picker. For the full background, read the Colour Palette Extractor: Complete Guide and the steps in How to Extract a Colour Palette from an Image.

Frequently asked questions

What is the 60-30-10 rule for color palettes?

It is a proportion rule: the dominant color takes about 60 percent of the space, the secondary color 30 percent, and the accent color 10 percent. The rule creates a clear visual hierarchy so the eye knows what is background, content, and emphasis. Start from the extractor percentages and round them toward these numbers.

How many colors should a brand palette have?

Four to six is the usual range. That is enough for a background, a primary, a secondary, an accent, and a text color, while still being memorable. More than six becomes hard for a team to use consistently. Extract a larger set first, then prune it to the strongest four to six.

Should I use the exact extracted colors or adjust them?

Adjust them. Extraction gives you a starting point, not a final answer. Shift a hue slightly for brand fit, raise the saturation of a dull accent, or darken a text color for contrast. The photo proves the colors harmonize, but your design goals decide the final values.

Can a photo palette work for a dark mode theme?

Yes, with inversion. Take the darkest colors from the photo as the dark mode backgrounds, and use the lightest colors for text. The accent colors usually transfer directly. Test the inverted palette for contrast, since pairs that worked on light backgrounds can fail on dark ones.

What do I do when the extracted palette has no good accent color?

Borrow one. Use the eyedropper to sample a small vivid detail the extractor missed, or introduce a complementary color from the color wheel opposite the dominant hue. An accent does not have to come from the photo; it has to work with the photo colors.

How do I keep a photo palette consistent across a whole website?

Store the palette as CSS custom properties or design tokens, and reference the variables everywhere instead of pasting HEX codes. That way a single change updates the whole site. Document the roles of each color so every page uses the same color for the same job.

Related guides

Developer Tools

How to Extract a Colour Palette

Extract a colour palette from any photo in five steps: upload, pick 3–12 swatches, read the percentages, and copy CSS or JSON — free, in your browser.

Nov 17, 2026 · 10 min readRead the guide →

Share this guide

← Back to the blog