No upload, 100% local, no account

Color Palette Extractor

Upload an image to extract its dominant colors. Get HEX codes for each swatch, copy with one click. Everything runs in your browser.

How Color palette extractor works

Color palette extractor analyzes an image file you drop and returns the dominant colors as HEX swatches, the actual colors that make up the visual identity of a photo, a logo or a screenshot. It is the reverse of Color scheme: instead of generating colors from a base, it reads the colors already in an image.

This is the right tool when you want to match an existing brand, recreate a mood from a photograph, or build a design system that is rooted in real-world visuals. It samples pixels, groups similar colours with a quantization algorithm and ranks the clusters by pixel count, so a swatch only dominates if it genuinely fills the image.

Frequently asked questions

Are my files uploaded to a server?

No. Your image is read by the HTML5 Canvas API in your browser tab, its pixels are sampled with getImageData on your own device and the dominant colours are computed right there; only the resulting hex codes are shown. The image itself never leaves your device and reaches neither Sunasty nor any third party. Open your browser's DevTools, go to the Network tab and watch: no request carries your image.

How does it decide which colors are "dominant"?

The tool samples pixels from the image, groups similar colors together using a quantization algorithm, and ranks the resulting clusters by how many pixels they account for. The top clusters become the swatches shown, so a white background dominates only if it genuinely occupies most of the image.

How is this different from Color scheme and Color converter?

Color palette reads colors from an existing image. Color scheme generates harmonious palettes from a color you supply. Color converter translates one color between HEX, RGB, HSL, HSV and CMYK formats. Each tool starts from a different input.

Does it work offline?

Yes, once the page has loaded. Because the processing happens on your device, you can disconnect from the network and the tool keeps working. This is the clearest proof that your data never leaves your machine.

Is it free? Do I need an account?

It is completely free and requires no sign-up. There are no watermarks, no daily limits and no tracking cookies needed to use the tool.