Skip to content
Jellykit

Color Palette from Image

Extract the dominant colours from any photo or logo as a palette of 2 to 12 swatches, with the share of the image each covers. Copy HEX codes or CSS variables.

Runs in your browser. Nothing is uploaded.

About Color Palette from Image

Drop in a photo, artwork or logo and get its main colours as a palette. Each swatch shows its hex code and roughly how much of the image it covers, sorted from most to least common.

Colours are found with k-means clustering on a shrunken copy of the image, so similar pixels are grouped together and averaged. Increase the number of colours to pick up smaller accents, or lower it for a broad summary.

How to use Color Palette from Image

  1. Open the tool above and add your file or text.
  2. Adjust the options to suit.
  3. Download or copy the result. Nothing is uploaded at any point.

Frequently asked questions

Why don't I see a small bright accent colour?

Small areas get merged into bigger clusters. Raise the number of colours, or use the Image Color Picker to grab that exact pixel.

Are transparent areas counted?

No. Mostly transparent pixels are skipped, so a logo on a transparent background gives just the logo's colours.

Is Color Palette from Image free and private?

Yes. Color Palette from Image is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all design tools →