SSqueezePix

Colour palette

The dominant colours in any image — as HEX, CSS variables or JSON.

Drop an image here

pull the dominant colours out of any image — read on this device

You can also paste from the clipboard.

Frequently asked questions

How are the colours chosen?

The image is sampled and grouped with median-cut quantisation: the colour space is repeatedly split along its widest axis, then each group is averaged. That surfaces the colours that actually dominate the picture rather than a handful of random pixels.

What does the percentage on each swatch mean?

The share of sampled pixels belonging to that colour group — so a 45% swatch covers roughly 45% of the image. The bar above the list shows the same proportions visually.

Can I use these colours for a website theme?

Yes — switch the export to CSS to get ready-made custom properties. Do check text contrast against your chosen background separately; a dominant colour isn't automatically an accessible one.

Are my images uploaded to a server?

No. SqueezePix runs entirely in your browser — files are opened and processed on your own device and never transmitted anywhere. You can even load the page, go offline, and keep working.