Image to palette

Drop a photo, a screenshot or an illustration and get its main colors. Your image stays on your device.

Drop an image here, click to choose one, or paste it with Ctrl+V.

JPG, PNG, WebP or GIF

Tip: open the colors in the generator to lock the ones you like and complete the palette.

Ideas for using image palettes

Questions

Is my image uploaded?

No. The image is read and analyzed directly in your browser. It never leaves your device.

How are the colors chosen?

The image is scaled down and its pixels are grouped with the k-means algorithm in the OKLab color space, which matches how we perceive color differences. Each group's average becomes one color of the palette.

Why do I get different colors each time I change the count?

With more colors, the algorithm splits large color areas into smaller groups, so it can reveal less dominant tones such as highlights and shadows.