Pick a Color from an Image

Load a picture, move over it to preview the color under the cursor, and click to lock the HEX and RGB values.

Image Color Picker

Drop an image here or click to choose

Hover to preview, click to lock
Swatch
HEX
RGB

🔒 Nothing you enter is sent anywhere or stored. All processing happens in your browser.

How it works

Ever needed the exact color of one pixel in a photo, logo, or screenshot? This tool draws your image to a canvas and reads the real pixel data with getImageData, so the color you get is the true value stored in the file — not an approximation.

Move your cursor over the image and the swatch, HEX, and RGB readouts update live to show whatever is under the pointer. Click to lock that color so it stops changing, then use Copy HEX to put the value on your clipboard for CSS, a design tool, or a document.

The coordinates are scaled correctly even when the canvas is displayed smaller than the image, so the sampled pixel matches where you clicked. Everything is local to your browser, which means brand assets and private screenshots are never uploaded.

Examples

A brand logo → click the accent color → copy its HEX for your stylesheet.
A photo → sample a sky tone to match in a design.
A screenshot of a UI → grab the exact button color you need to reproduce.

Frequently asked questions

How accurate is the color?
It is exact. The tool reads the raw pixel values from the canvas, so the HEX and RGB match the file precisely.
Why does hovering change the color but clicking locks it?
Hover gives a live preview so you can explore; clicking freezes the value so you can copy it without it shifting.
Does the display size affect which pixel I get?
No. The tool scales your cursor position back to the image's real resolution, so the sampled pixel is the one you pointed at.
Can I get RGB as well as HEX?
Yes. Both are shown, and the swatch fills with the picked color so you can see it at a glance.
Is my image uploaded?
No. It is drawn and sampled entirely in your browser; nothing is sent to a server.