Colour Palette from an Image
Pull the colours a photo is actually made of, as HEX codes you can paste into a design. Up to ten swatches, counted from a downscaled copy so the palette reflects the picture rather than one noisy pixel.
- Free, unlimited
- 100% on-device
- No sign-up
Colour Palette from an Image
Drop an image
Or choose a file from your device
JPG, PNG, WebP, AVIF, GIF or HEIC · one image · max 40 MB
Pixels are read in this tab — the image is never uploaded.
Click the image to sample a colour.
Three steps — nothing to install
Add the image
A photo, a screenshot or a design. Colour is counted from visible pixels only.
Choose how many colours
Four for a tight palette, eight or ten when the image has several distinct areas.
Copy what you need
Click a swatch for its HEX, or copy the whole list at once.
How the colours are chosen
The image is reduced to about 240 px on its long edge — enough to keep the colour story, small enough that millions of pixels do not drown the count. Each pixel is then grouped into a coarse colour bucket, and the buckets are ranked by how much of the picture they cover. Nearby buckets are merged so the palette does not end up with ten nearly identical blues.
That is why the result feels like the photo rather than like a random sample of it. It is not a perceptual palette generator: it does not choose colours that look good together, and it does not know about brand guidelines. It reports what is there.
The percentage next to each swatch
The share is the approximate portion of visible pixels in that bucket. A swatch at 40% is the background; one at 3% is an accent. A palette with one huge share and several tiny ones is normal for a portrait against a plain wall.
Shares do not add up to exactly 100%: merged buckets and the transparency filter leave a small remainder. Treat them as relative weights, not as a precise measurement.
Using the palette
A quick way to start: take the two largest swatches as background and text, then use a smaller, more saturated one as the accent. Check contrast before putting text on a colour — a mid-tone that looks pleasant as a block can fail badly under small type.
The image is decoded and counted in this tab; nothing is uploaded and no palette is stored. Reloading the page clears it.