Color Palette Extractor
Pull the dominant colours out of any image.
Input
This tool runs entirely in your browser. The data you paste or load is never uploaded.
Result
Enter your input, then run the tool.
About this tool
Analyses an image and extracts a palette of dominant colours with their share of the picture. Quantisation runs on a downsampled copy, so even large photos produce a palette in a moment.
How to use it
- Load an image.
- Choose how many colours you need.
- Copy individual HEX values or the whole CSS variable block.
Frequently asked questions
How are colours chosen?
Pixels are collected into a coarse colour grid, then the most populated buckets are averaged and returned sorted by coverage.
Why not simply the most frequent pixel?
Photos contain noise and gradients; bucketing produces a palette that looks like the image instead of near-duplicate shades.
Keep going
Related tools
Image Color Picker
Click any pixel to read its HEX, RGB and HSL values.
Color Palette Generator
Generate harmonious palettes from one base colour.
Color Contrast Checker
Test text and background colours against WCAG 2.2.
Image Compressor
Shrink JPG, PNG and WebP images without an upload.
PNG to WebP Converter
Convert PNG images to modern WebP, with transparency kept.
JPG to WebP Converter
Turn JPEG photos into lighter WebP files.