Color Picker & Hex/RGB

How to use 3 steps
  1. Choose a picture under Upload Image to Pick Colors.
  2. Click anywhere on the image to read that pixel's colour.
  3. Copy the HEX or RGB value you need.

Read the full guide

Picked Color Details
Click anywhere on the image canvas above to inspect pixel colors.
Loading the tool… 0 of 3 parts

Getting the tool ready. On a slow connection this can take a few seconds.

How this tool works

The image is drawn onto a canvas and every click reads back the single pixel underneath, reported as a hex value and as RGB. Reading a colour from the image itself is the point: a screenshot of a brand's site gives you their exact blue, where matching by eye against a swatch never quite does.

Images wider than eight hundred pixels are scaled down to fit the canvas, which keeps large photographs usable in the page. That scaling is worth knowing about, because the pixel you click is a pixel of the scaled image rather than of the original. On a flat area of colour the two are identical; along an edge, where scaling blends neighbouring colours together, the value can differ slightly from the original file.

Getting the colour you meant

  • Click a flat area, not an edge: the boundary between two colours contains blended pixels that belong to neither. A pixel from the middle of a region is the one that matches.
  • Photographs have no single colour: what looks like one shade of sky is dozens of neighbouring values. Sample several points and choose, rather than assuming the first click is representative.
  • A screenshot may not carry the original values: JPEG compression shifts colours slightly, particularly at edges. A PNG screenshot or the original asset gives an exact match where a compressed one gives an approximation.
  • Colour profiles are not accounted for: the value read is what the browser drew. An image in a wide-gamut profile may report values that differ from what a design tool shows for the same file.

Full guide

3 min read

Picking colours from an image: click the middle, not the edge

Large images are scaled to fit the canvas, so edge pixels are blends of their neighbours. Why a photograph has no single colour, how JPEG compression shifts values, and when hex or RGB is the better form.

Read the guide

Frequently Asked Questions

Specific to the Color Picker & Hex/RGB. Broader questions about this category are answered on the category page.

Large images are scaled to fit the canvas, and scaling blends neighbouring pixels. Clicking the middle of a flat area rather than an edge avoids it.
No. This reads pixels from an image you load. A screenshot is the usual way to get something else into it.
Both describe the same colour. Hex is the convention in CSS and design tools; RGB is easier to adjust by hand and is what you need when adding transparency.
Because they are genuinely different pixels. Photographs and compressed images vary subtly across areas that look uniform.
No. It is drawn and read in your browser, so nothing leaves your device.

Subscribe to receive notifications about new tools, features, and productivity tips.