Color Palette Extractor

Extract the dominant colors from any image in your browser. 5–8 swatches, hex codes, copy-paste CSS variables. Files never leave your device.

🔒 Files never leave your browser — no upload, no server, no tracking.
No image yet.

    
  

What is this for?

This tool reads an image, samples its pixels, and groups them into 5–8 dominant colours using a median-cut quantization algorithm. You get back a small set of representative hex codes that capture the image's colour story — useful for extracting brand colours from logos, seeding design systems, or building moodboards from photography. Everything runs in your browser; your image never leaves your device.

When to use it

How it works

This approach is fast, deterministic, and works well for most images. The trade-off is that it prioritises frequency over perceptual harmony — if you need colours that are theoretically complementary or analogous, you'll want a designer to refine the output.

Common gotchas

Output formats