Image Color Palette Extractor

Upload an image and extract the dominant colors as a palette. Get HEX codes for each color.

🎨
Click to upload an image
JPG, PNG, WebP, GIF

About this calculator

Upload an image and extract its dominant colours as a palette of hex codes. Choose how many colours you want.

The image is processed in your browser and never uploaded.

How to use it

  1. Choose an image.
  2. Set how many colours.
  3. Copy the hex codes.

How extraction works

The image is shrunk, pixels are grouped by similar colour, and the most frequent groups become the palette. Choosing more colours splits groups finer. Photos with large flat areas give clean results; busy photos give averaged tones.

Worked example

Uses

BrandBuild a palette from a logo
WebMatch page colours to a hero image
ArtFind colours in a painting

Tips and common mistakes

  • Use a smaller image for faster results.
  • Ask for 5 to 8 colours.
  • Check contrast of extracted colours.
  • JPEG compression can add noise.
  • Crop to the area you care about.

Frequently asked questions

How does it find colours?

By grouping similar pixels and counting.

Is my image uploaded?

No.

How many colours should I request?

5 to 8 is usual.

Which formats work?

JPG, PNG, WebP, GIF.

Why are results different from what I see?

Averaging blends tones.

Is it free?

Yes.

Related tools