100% free no uploads no sign-up

color palette from image

Drop a photo, logo, screenshot or artwork and get its main colours as hex codes, with how much of the picture each one covers. Click anywhere on the image to pick an exact pixel. Your image stays on your device.

drop an image hereor click to choose · or paste with Ctrl+V🔒 Your image stays on your device.

Tap or click the picture to pick any pixel's colour.

How to extract colours from an image

  1. Drop an image on the box, click to choose one, or paste a screenshot with Ctrl+V (Cmd+V on a Mac).
  2. The main colours appear straight away. Use the slider to get between 2 and 10 colours.
  3. Click a hex code to copy it, or click the picture to pick any single pixel.
  4. Copy all the codes, the CSS variables or a PNG swatch, or open the palette in the generator to adjust it.

What people use it for

Tips for better palettes

Frequently asked questions

Is my image uploaded anywhere?

No. The image is opened by your browser and analysed on your device with a canvas. It never leaves your computer or phone, so it's safe for private photos and unreleased designs.

How are the colours chosen?

The tool groups similar pixels together using k-means clustering in the CIE Lab colour space, which matches how people see colour differences better than plain RGB. Each colour is the average of one group, and the percentage shows how much of the picture it covers.

Why doesn't the palette include a small bright detail?

Small details cover few pixels, so they can be merged into a bigger group. Increase the number of colours with the slider, or click the detail in the picture to pick its exact colour.

Which image types work?

Any image your browser can open: JPG, PNG, WebP, GIF, AVIF and SVG in most browsers. iPhone HEIC photos may need converting to JPG first; you can do that with the image converter on this site.

Are transparent areas counted?

No. Pixels that are mostly transparent are ignored, so a logo on a transparent background gives you just the logo colours.

Can I get the colour of one exact spot?

Yes. Click or tap anywhere on the picture and that pixel's hex code is shown and copied to your clipboard.

More colour tools