Image Color Picker

Pick colours from anywhere in an image and copy their HEX, RGB or HSL values.

This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.

Input
Image file
Output
Colour values
Limit
20 MB per image
Category
Image Tools
Status
Available now
Price
Free — no subscription, no account

How to use Image Color Picker

  1. Choose an image, or paste a colour as a hex value or an rgb() string.
  2. Click anywhere on the image to pick that pixel's colour.
  3. Read the palette below the image for the dominant colours, with the share of pixels each one covers.
  4. Compare against a second colour to see the WCAG contrast ratio and whether the pair is safe for body text.

Frequently asked questions

How is the palette decided?

Colours within sixteen of each other in every channel are merged into one swatch, so a photograph's hundreds of near-identical greens do not drown the colours that matter. Transparent pixels are skipped entirely, so a transparent PNG reports only its visible colours.

What do the contrast numbers mean?

They are WCAG contrast ratios. 4.5 to 1 is the bar for body text, 3 to 1 is allowed for large text and icons, and 7 to 1 is the strict AAA level. The tool reports the level in plain words rather than just the letters.

Why does my huge image load quickly?

The picker works on a copy capped at 1600 pixels wide, so clicking is measured against the whole image without decoding every pixel of a panorama. The palette is sampled the same way.

Why does the tool reject an hsl() colour I paste in?

Because an hsl() string has to be resolved by a browser, and this tool does not depend on one to parse a colour. It reads hex and rgb(), and says so rather than returning a wrong answer.

Related tools