Color Palette Extractor
Extract a color palette from an image, in your browser.
Drop an image here
Choose an image or drop it here. Colors are sampled in your browser and the file is never uploaded.
Recommended next steps
Related tools
Strip EXIF and location data from images, locally in your browser.
Convert SVG vector files to PNG at a chosen size, in your browser.
Convert PNG images to WebP, in your browser.
Frequently asked questions
It draws your image onto a small downscaled canvas in your browser, reads the pixels, and groups them into the most dominant colors using median-cut quantization. You then get HEX and RGB values you can copy. Sampling a thumbnail keeps it fast even for large photos without changing which colors come out on top.
No. Everything runs locally in your browser using the HTML canvas — your image is never sent to a server. You can disconnect from the internet after the page loads and the tool still works.
Choose 4, 6, 8, or 12 dominant colors. Fewer colors give you a tight brand-style palette; more colors capture subtler tones in a detailed photo. The most common color is always listed first.
Yes. Each swatch has a copy button for its HEX code (e.g. #1080FF) and its rgb() value, and there is a button to copy every HEX code at once as a comma-separated list you can paste into CSS or a design tool.
Last updated 2026-06-23.