Tool · Palette from image

Drop a photo. Get a palette.

Median-cut quantization in your browser — 3 to 8 dominant colours with full hex codes. The image never leaves your machine.

Or try a sample

Click a swatch to load it as the source image.

When this works well.

Median-cut is good at finding palettes that match what your eye already sees. It works best on photographs, paintings, packaging, and editorial spreads — anywhere the source has meaningful colour clustering.

It works less well on screenshots, illustrations with thin lines, and images dominated by a single near-white background. For product-on-white photos, turn on Ignore near-white & near-black in the panel — that strips out the background pixels before quantization.

Want to use the extracted palette somewhere? Open the gradient generator to turn it into CSS, or the contrast checker to verify type pairs.