Pick a Colour from an Image
Click or drag over the picture to sample a colour. The exact value appears as HEX, RGB and HSL, ready to paste into CSS, a design file or a brand note.
- Free, unlimited
- 100% on-device
- No sign-up
Pick a Colour from an Image
Drop an image
Or choose a file from your device
JPG, PNG, WebP, AVIF, GIF or HEIC · one image · max 40 MB
Pixels are read in this tab — the image is never uploaded.
Click the image to sample a colour.
Three steps — nothing to install
Add the image
JPG, PNG, WebP, AVIF, GIF or HEIC. The preview keeps the proportions of the original.
Click the pixel
Drag across the image to sample several colours; the last ten distinct picks stay in the list.
Copy the value
HEX is one click. RGB and HSL are shown so you can type them into any tool.
What the numbers mean
HEX is a compact RGB value used in CSS and most design apps. RGB states the three channels directly, from 0 to 255. HSL describes the same colour as hue, saturation and lightness, which is easier to reason about when making a palette darker or more muted.
The values are read from the canvas after the browser has decoded the file, so they are display colours in the sRGB space. If the original has an embedded colour profile, the browser converts it; the picked value is what a screen shows, not necessarily the raw bytes in the file.
Sampling a photo accurately
Photos have noise, and compression adds more. One pixel can be several levels away from the colour the eye sees for the area. Click a few nearby points and compare, or pick a flat region — a wall, sky or background — rather than a textured one.
Transparent pixels are refused rather than reported as black, because there is no colour there to copy. For a logo, click on the ink, not inside the transparent area.
Privacy and limits
The image never leaves the device: it is decoded, drawn and read in the browser tab. Nothing is stored, and the history list exists only on this page.
Sampling is precise to one pixel of the preview, not the original: the preview is scaled down for large photos, so a click maps to the nearest corresponding pixel. For exact brand-colour matching, use the original file in a desktop editor — this tool is for reading what you see.