Unfiltered
ColourDesign

How to Build a Colour Palette From a Photo (and Use It)

Pull a colour palette from any photo, pick primary and accent colours, check contrast, and reuse the hex codes in designs and AI image prompts.

By the Unfiltered Image Generator AI editorial team· Updated · 3 min read

Photos are ready-made colour schemes. Here is how to turn one into a palette you can use.

1. Pick the source image

Choose a photo with the mood you want: calm, warm, moody or bright. Run it through the free colour palette generator and ask for six colours.

2. Assign roles

From the swatches, pick:

  • Background: the lightest or darkest neutral.
  • Text: a high-contrast neutral against the background.
  • Primary: the colour that defines the mood.
  • Accent: a small, bright colour for buttons and highlights.

3. Check contrast

Text should stand out clearly from its background. As a rule, very light text on very dark backgrounds, or the reverse, reads best. Avoid mid-tone text on mid-tone backgrounds.

4. Reuse everywhere

Copy the CSS variables into your site, paste hex codes into design tools, and describe the colours in words in AI image prompts so a series of images stays consistent.

Pick exact colours too

The generator includes an eyedropper: click any pixel to copy its exact hex code, handy for matching a logo or a product colour.

Common questions

How many colours should a palette have?

Five or six: one or two neutrals, one main colour, one or two accents.

How do I use hex colours in AI prompts?

Describe them in words, such as deep teal or warm amber. Most image models respond better to words than codes.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Turn on the red light.

Open the unfiltered AI image generator and develop the image exactly as you wrote it.