Image Color Picker & Palette Extractor

Get the main colors of any photo as a palette, or click the image to pick an exact color. The image is processed on your device and is never uploaded.

Drop an image here, paste it, or click to choose JPG, PNG, WebP, GIF or SVG

How to get colors from an image

  1. Drop a photo onto the box, paste it with Ctrl+V, or click to choose a file.
  2. The main colors appear on the right, ordered from most to least common. Use the slider to get more or fewer colors.
  3. To grab one exact color, click on the image. Picked colors are added to a list below the palette.
  4. Click any HEX code to copy it.

To take the whole palette, use Copy HEX list or Copy CSS variables, or open it in the palette generator to adjust and extend it.

Is my image uploaded?

No. The image is read and analysed by your own browser. Nothing is sent to a server, so it is safe to use with private photos and unreleased designs.

How the palette is chosen

The tool uses median cut, a classic color quantization method. It puts every pixel into one group, then repeatedly splits the group with the widest color range in half, until it has as many groups as you asked for. A few rounds of k-means then refine the result: every pixel joins the palette color it is closest to, and each color moves to the average of its pixels. The share of pixels in each group gives the percentage.

Ideas for using an image palette

FAQ

Why doesn't the palette include a small detail I can see?

Palette colors represent large areas. A small but striking detail, like a red flower, may be merged into a bigger group. Raise the number of colors or click the detail to pick it directly.

Can I use this on a screenshot of a website?

Yes. Take a screenshot, paste it here, and click any element to get its exact color.

Why is the picked color slightly different from the original design?

JPG compression and screen color settings change pixels a little. For exact brand colors, use a PNG export or the original design file when you can.