1. Choose an image with the right mood

Start with a photo that feels like the project: a peaceful landscape for a wellness website, a lively market scene for a food brand, or a minimal interior for a portfolio. Look for a clear visual direction, not necessarily the most colourful image you can find.

Bright highlights, deep shadows and strong editing filters can distort the extracted result. A photo with a consistent lighting style will often produce a more coherent palette than a busy image with unrelated objects.

2. Extract a starting palette

Open the Image Palette Generator and upload your chosen photo. Examine the main extracted colours rather than immediately copying every value. An extractor works from the pixels in the picture: it cannot know which colours are important to your design.

For example, a coastal photograph might contain a deep sea blue, pale blue sky, off-white foam and a warm sandy accent. That combination is often more useful than four extremely similar blues.

#163D57#397A9A#9CC9D5#EAF4F5
Coastal-inspired exampleDeep blue, mid blue, sea-glass and soft mist. These are illustrative colours, not an automatic result from a particular photo.

3. Sample an exact colour when it matters

If the palette extractor misses a detail — perhaps the colour of a flower, a product or a painted door — use the Image Colour Picker to select a pixel directly. That gives you a precise HEX value from that location in the image.

Be aware that a single pixel may contain shadow, texture or compression noise. Sample a few nearby points and choose a representative shade. If you are matching an existing brand identity, use its official colour specification instead of estimating from a photograph.

4. Give each colour a job

Four attractive swatches do not yet make a usable website palette. Assign roles:

  • Main background: a light, quiet surface that allows content to breathe.
  • Primary text: a sufficiently dark colour that stays readable on the background.
  • Brand or interface colour: the shade used for headings, navigation or key components.
  • Accent: a more distinctive colour for calls to action or small highlights.

With the coastal example, you could use #EAF4F5 for spacious backgrounds and #163D57 for text. Keep stronger blue accents for deliberate moments rather than applying them everywhere.

5. Check readability before using it

Colours that look distinct in a photo may not have enough contrast for text. In particular, pale colours that work well as large backgrounds often fail when used as lettering on white.

Test the combinations with the Contrast Checker. For WCAG 2.2 Level AA, ordinary text typically needs at least 4.5:1 contrast; qualifying large text needs 3:1. These requirements are about the actual foreground and background pair, not the palette as a whole. You can read the W3C explanation of contrast for the full rules and exceptions.

6. Refine, convert and use the palette

Keep the strongest two or three image-derived colours, then add neutrals or lighter shades when you need them. A design often needs more than the exact colours found in the photo: hover states, borders, disabled controls and text colours all require consideration.

Use the HEX / RGB / HSL converter when you need a different code format, or open a ready-made coastal blue palette as a starting point. Save the final HEX values in a central document or CSS variables so future pages remain consistent.

Common problems when extracting colours

  • Too many similar colours: pick fewer shades with distinct roles.
  • All colours are dark: introduce an appropriate light background and retest text contrast.
  • The result looks muddy: try a different region of the photo or select a clearer sample.
  • Colours change across screens: screen calibration and image profiles vary, so validate your final design on the devices you expect people to use.
  • Using someone else's artwork: respect the rights attached to the image, especially if it appears in your final design. Drawing inspiration from colours does not automatically give you permission to reuse the photo itself.