Colors from a photo

Image color picker and palette extractor

Upload, drop or paste a photo. Hover to read any pixel, click to keep it, and see the image's dominant colors with how much of the picture each one covers. A sample sunset is loaded so you can try it straight away.

or drop or paste an image
Hover the image to read a color

Dominant palette click to copy

Image read

Picked colors click the image

How the palette is extracted

An eyedropper tells you the color of one pixel. A palette has to describe the whole picture, which is harder: a photo of a beach can contain hundreds of thousands of slightly different blues. The extractor groups them the way your eye does.

01 · SAMPLEAbout 6,000 pixels are sampled evenly across the image, enough to be accurate and fast on a phone.
02 · GROUPThe samples are clustered into six groups with k-means in OKLab, a color space where distance matches what people perceive, so similar-looking shades end up together.
03 · MEASUREEach group's average color becomes a swatch, sized by the share of the image it covers.
04 · READTemperature, saturation, brightness and contrast are summarized as a mood, and the complement of the dominant color is suggested for text over the image.

What people use it for

Matching a website or deck to a hero image. Extract the photo's palette, then press Turn into a UI palette to get background, surface, primary, secondary and accent roles in the color palette generator.

Finding a brand's colors from a logo or product shot. Click the exact pixels you need and copy their HEX codes.

Choosing readable text colors over photos for thumbnails, posters and social posts, using the suggested complement.

Working with old black-and-white photos? Our AI photo colorizer adds natural color first, then you can pull the palette out here. More tips are in our image color picker guide.

Frequently asked questions

Are my images uploaded anywhere?

No. The image is read by your browser and analyzed on your device. Nothing is sent to Pixazo or anyone else, and it disappears when you close the page.

Which image formats work?

Any format your browser can display: JPG, PNG, WebP, GIF (first frame), AVIF and SVG. HEIC photos from iPhones work in Safari; in other browsers, export them as JPG first.

How do I get the HEX code of a color in an image?

Hover over the image to read the color under the cursor, then click to copy its HEX code. Clicked colors are also kept in the Picked colors list.

Why might a picked color differ slightly from Photoshop?

Very large images are scaled to fit 900 by 700 pixels before analysis, which can average neighboring pixels. Color profiles can also differ between apps.

How many colors does it extract?

Up to six dominant colors, with any group covering less than 1% of the image left out so the palette shows only colors that matter.

Is it free?

Yes. There is no sign-up and no limit on images.

More free color tools

With Pixazo’s platform we deliver enterprise-class security and compliance to you and your customers through every interaction.