Free · Local · No upload

Image Color Palette Extractor

Drop in a photo, illustration or screenshot and turn its dominant colors into reusable hex values. Copy one color or export the complete palette as CSS, JSON or a simple list.

Your image stays in this browser and is never uploaded.

Browser-local color sampler

Extract dominant colors

Choose one image up to 20 MB. Adjust the palette size after extraction without uploading the file again.

Choose an image to generate a palette.

0 colors
Simple and private

From image to palette in seconds

1. Add one image

Select a local image or drag it onto the page. A browser preview confirms the file you chose.

2. Sample dominant colors

The tool downsizes a private canvas copy, groups nearby RGB values and ranks the most common distinct colors.

3. Copy or export

Copy individual hex values, copy the full palette as CSS or JSON, or download a reusable JSON file.

FAQ

Image palette questions

Is my image uploaded?

No. File decoding, pixel sampling and palette export happen locally in your browser.

Why can the palette change when I choose more colors?

The extractor balances frequency and visual separation. A larger palette can include less common shades that were previously too similar to a dominant color.

Can I use the colors in CSS?

Yes. Select CSS variables in the export menu to produce named custom properties ready to paste into a stylesheet.

Before using a pair in your interface, verify its readability with the Color Contrast Checker. Working with screenshots? Try Long Screenshot Maker.