Loading Techie Utils…

Image Palette Extractor

Pull the dominant colours out of a picture, with how much of it each covers. Free, and runs entirely in your browser — nothing is uploaded.

About Image Palette Extractor

Finds the dominant colours in a picture — a photo, a logo, a screenshot — and lists them with how much of the image each covers, ready as CSS variables, a Tailwind theme, a hex list or JSON.

The colours are grouped in Oklab rather than RGB, so the clusters match what a person would call 'the same colour': a sky in several shades of blue comes back as one blue, not three, and a small bright accent is not swallowed by a large dull area of similar numbers.

The picture is read in this browser and never uploaded. It is scaled down to a couple of hundred pixels a side first, which is plenty for colour and keeps extraction instant even for large photographs.

Where it helps

  • Groups colours perceptually, in Oklab, so results match what the eye sees.
  • Reports each colour's share of the picture, not just a list.
  • Ignores transparent pixels, so logos on a transparent background work.
  • Runs entirely in the browser; the picture never leaves your machine.

Limits

  • Dominant is not the same as important: a small logo in a large photo may not make the list — raise the colour count to find it.
  • The clusters are averages, so the exact brand colour inside a photo will be slightly off; use the picker for a precise pixel.
  • Animated GIFs are read from their first frame only.

Frequently asked questions

Why is my accent colour missing?

It covers too small a share of the picture to form its own group at this count. Increase 'How many colours' — or crop to the part of the image you care about — and it will appear.

Is the picture uploaded anywhere?

No. It is decoded and analysed in this browser tab; nothing is sent to a server.

Will I get the same colours every time?

Yes — the clustering is seeded from the image itself, so the same picture always gives the same palette.

Related tools

More Colors & Design tools