Pick exact colours from any image
Drop in a photo, screenshot or design mockup and click any pixel to read its exact HEX and RGB colour. It’s the browser eyedropper designers and developers reach for when they need the precise colour from a reference image, brand asset or screenshot.
How it works
The image is drawn onto a <canvas> at its native resolution. When you click,
the tool converts the click position to image coordinates (scaling for any
display shrink), then calls ctx.getImageData(x, y, 1, 1) to read that single
pixel’s red, green and blue bytes. Those are formatted as a #rrggbb hex code and
an rgb(r, g, b) string. Each pick is stored in a swatch history of the last 12
unique colours, and any value copies to the clipboard with one click.
Example
You click a leaf in a product photo and the tool reports #3f8f4a and
rgb(63, 143, 74) at pixel (412, 588). Click another spot to add it to the
history, then build a small palette and copy each value straight into your CSS or
design file.
| Output | Format | Use |
|---|---|---|
| HEX | #3f8f4a | CSS, design tools, hex inputs |
| RGB | rgb(63, 143, 74) | CSS, code, alpha tweaks |
The image is read directly from a <canvas> in your browser — it is never
uploaded, so even private screenshots stay on your device.