Free · private · in your browser

Color Palette Extractor

Hand an image to the extractor and get its dominant colors back in seconds — hex codes, share of the image, click to copy, and exports in TXT, CSS or JSON.

Extract the colors

Drop in an image and the palette is built instantly from its most common colors.

Add an image

Drag & drop an image here

PNG, JPEG or WebP · up to 20 MB

Your image
The image you add will appear here.

2–12 colors, from most to least dominant.

How it works

  1. Add an image

    Drop a photo or logo in — or pick one with "Browse files".

  2. Extract

    Choose how many colors you want and hit "Extract palette". Similar shades are merged into one palette entry.

  3. Use it

    Copy a hex code with one click, or download the palette as TXT, CSS variables or JSON.

Frequently asked questions

How are the palette colors chosen?

The extractor counts every distinct shade in the image, then merges similar colors together and ranks the groups by how much of the image they cover. You can request anywhere from 2 to 12 colors.

Will photos give better palettes than logos?

Both work. Flat illustrations and logos produce very precise palettes, while photos tend to blend into softer, blended color groups — which is usually what design work needs anyway.

What formats can I export?

You can copy any hex with a click, or download the whole palette as a plain .txt list, a .css file with CSS custom properties, or a .json array.

Are the files sent to a server?

No. The image is analyzed locally in your browser and never uploaded, so private photos and screenshots stay on your device.