Hex Code from Image
To get a hex code from an image, open the picture here and click one pixel. The HEX value is that pixel, with its own copy button, next to RGB, HSL, CMYK, and OKLCH. A loupe magnifies the area under the pointer. The image stays in your browser and is not uploaded. The tool is free and needs no sign-up.
Use this hex color picker from image when you need the exact hex code of one pixel. Click the picture, or use the arrow keys, and copy the value.
How to use it
- Upload a JPG, PNG, or WebP, or paste it from the clipboard.
- Hover to magnify the pixels, then click the one you want.
- Copy the hex code. RGB, HSL, CMYK, and OKLCH are on the same row.
Questions
How do I get a hex code from an image?
Upload the image, click the pixel, and use the Copy button next to HEX. The value is the six-digit color of that decoded pixel.
Can I find the hex code from a screenshot?
Yes. A screenshot saved as JPG, PNG, or WebP works the same way as any other picture. The file stays in your browser.
What does the magnifier show?
While the pointer is over the image, a loupe shows a grid of nearby pixels so you can land on the one you mean.
Is the nearest color name the same as the hex code?
No. The hex code is the pixel itself. The name is the closest entry in the Chinese and Japanese colour catalogue.