How to find colours in an image or on your screen

Use a palette when you want the main colours in a picture. Use an eyedropper when you want the code for one point. A logo on a white background shows why both matter: the palette may put white first, but the blue inside one letter may be the only colour you came for.

How to find colours in an image or on your screen

Get a palette from a file

Open the colour palette extractor and add a JPG, PNG or WebP. The tool gives you up to six dominant colours. Click a swatch to copy its HEX code or use the text download to keep all the codes together. The browser works from the file you select and does not change or upload it.

The tool samples a reduced copy of the image, groups similar pixels and shows the average colour of each group it selects. A swatch is a useful starting point for a design, not a promise that the exact code occurs at a specific spot in the source. A large background tends to rank higher than a tiny accent. Fully transparent pixels are left out, but solid white pixels still count.

If the first palette is mostly background, crop a copy to the subject using the crop tool. Extract the palette from that copy. If you only need the colour of a small icon or stripe, use the eyedropper instead of trying to force it into the dominant results. An image with fewer colour groups can return fewer than six swatches.

Pick one pixel on your screen

On the palette page, select Pick screen colour, then click the pixel you want. The browser controls the selection and returns one colour. The page shows its HEX and RGB values below the button. No image file is needed. Press Escape if you want to close the picker without changing the last successful reading.

Aim for the centre of a solid colour, not the edge of a character or shape. At an edge, antialiasing can mix foreground and background into a colour neither uses on its own. A photograph or gradient can give different codes on adjacent pixels, so pick the location whose appearance you want to match. Repeat the selection to check an area that looks flat but may have a subtle gradient.

The screen picker reports the rendered colour. If a transparent logo is displayed on grey, the reading may include the grey behind it. Zoom, interpolation and overlays can also affect the displayed pixel. For the original colour in a brand asset, use the source file or design specifications instead of using the visible result as proof of the original value.

Read the two colour codes

HEX and RGB describe the same red, green and blue channels in different notation. HEX uses two hexadecimal digits per channel. In #336699, 33 is red, 66 is green and 99 is blue. Written in decimal, the same values are rgb(51, 102, 153). Copy whichever form your design tool or stylesheet expects.

You can paste #336699 into many colour fields or use it as a CSS colour. If an application has separate red, green and blue fields, enter 51, 102 and 153. Neither value records the location on screen, an opacity setting or a print ink recipe. Keep the original source file if that extra information matters.

Check how the chosen colour looks in context. A swatch can look dark enough on white and still be too faint against a tinted background. If it is for text, check the contrast against the actual background before using it. If it is for an icon or status badge, give it a label or another cue so colour is not the only way to tell what it means.

If your browser has no screen picker

Screen picking needs a browser with a built-in eyedropper. The page tells you when that feature is unavailable. You can still use the image palette on that browser. Take a screenshot with your device, crop to the area you care about if needed, and drop the image on the page. That gives you the main colours in the crop. It is not an exact single-pixel measurement.

When you need a single pixel and this browser cannot pick it, use an eyedropper in an image editor on your device or open the palette tool in a supporting browser. No browser extension is required for the site feature. If the source is a private document, save and inspect the screenshot locally rather than sending it to a third-party picker.

Quick questions

Do I have to upload an image to pick a screen colour?

No. On a supported browser, the eyedropper returns the colour you select without an image file.

Why does a palette swatch differ from the eyedropper reading?

The palette averages similar sampled pixels. The eyedropper reads one rendered point.

Can I get brand colours from a screenshot?

You can sample what is displayed, but use the source asset or brand specifications if you need the exact original code.

Tools