Category: Image tools
Dominant Color Extractor
Pull the main colors out of an image as a copyable palette
Upload an image to extract its most common colors as a ranked palette of hex swatches with their share of the image, ready to copy into a design tool or style sheet. The image never leaves your browser.
Choose an image to extract its dominant colors.
The image is decoded and analyzed on a canvas in your browser; it is never uploaded anywhere.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
The image is drawn to an off-screen canvas, downscaled for speed, and every pixel is read back with the Canvas API. Similar colors are grouped into buckets, each bucket's real pixels are averaged for an accurate swatch, and the buckets are ranked by how much of the image they cover. The result is a small, representative palette rather than one color per unique pixel value.
How to use it
- Choose an image file from your device.
- Pick how many colors to extract.
- Copy an individual swatch's hex value, or copy the whole palette at once.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Is my image uploaded anywhere?
- No. It is decoded and analyzed entirely on a canvas in your browser tab; no file or pixel data is sent to a server.
- Why is the extracted color slightly different from the exact brightest pixel?
- Each swatch is the average color of every pixel grouped into that bucket, not a single sampled pixel, which gives a more representative result than the color-picker approach of clicking one spot.
- Does the percentage add up to 100%?
- Only if you extract every bucket found in the image. Since the palette is limited to the count you choose, the shown percentages are the coverage of just those top colors, not the whole image.