- Open an image.
- Move over it. A magnifier shows the pixels around the pointer and the colour in the centre. Scroll to zoom in and drag to move around. On a touch screen, slide your finger and lift it on the colour you want.
- Click to keep the colour. Arrow keys move the sample by one pixel, or ten with Shift.
- Copy the HEX code, or open Values for the other formats. Saved keeps your last 30 picks.
How to pick a colour
One pixel or an average
Photos are rarely made of flat colour. Sensor noise, JPG compression and texture mean that two neighbouring pixels can have noticeably different values. With a sample size of 1 px the tool reads a single pixel exactly; 3 x 3, 5 x 5 and 11 x 11 average a square around it.
- For flat graphics and logos, use 1 px inside a shape.
- For photos, a larger sample gives a more typical colour. The Palette Generator summarises the whole image.
- Avoid edges, where pixels are blends of two colours.
Colour formats
| Format | Use | Example |
|---|---|---|
| HEX and RGB | CSS, most design apps | #1D4ED8, rgb(29, 78, 216) |
| HSL and HSV | Adjusting hue, saturation or lightness | hsl(224, 76%, 48%) |
| OKLCH | Modern CSS, even steps of lightness | oklch(48.8% 0.217 264.4) |
| CMYK | A rough guide for print | cmyk(87%, 64%, 0%, 15%) |
CMYK here is a simple conversion. Real print values depend on the printer, ink and paper, so ask your printer for their colour profile when it matters. The tool also names the closest CSS colour keyword.
Checking text contrast
Contrast compares the picked colour with white, black, another picked colour or any HEX code, and shows the WCAG 2 ratio. Normal text needs 4.5:1 for level AA and 7:1 for AAA; large text needs 3:1 and 4.5:1. Values are rounded down, so a ratio just under a limit is never shown as a pass.
Colour accuracy
The values are what the browser decoded, in sRGB, from the full-resolution image. If your image uses a wide-gamut profile, or your design app handles profiles differently, its eyedropper may show slightly different numbers. For brand colours, take values from the original vector or design file when you can.
Where the processing happens
The image stays in your browser and is not uploaded. Copying uses your clipboard only when you press copy. The site itself loads analytics and advertising scripts, described in the Privacy Policy.