Color picker from image
Pick any colour from a photo: HEX, RGB, HSL and palette.
About this tool
This tool finds the exact colour of any pixel in an image: tap or click a spot to get its HEX, RGB and HSL code, ready to copy. It also lists the 8 main colours of the picture with their share of the image, found with a median-cut algorithm. The image is analysed in your browser only.
At a glance
- What it does
- Pick any colour from a photo: HEX, RGB, HSL and palette.
- Price
- Free, no sign-up
- Works in
- Your browser, on phone or computer. Works offline after the first visit.
- Privacy
- Files are processed on your device and never uploaded.
How to get a colour code from an image
- Select or drop an image, screenshot or logo.
- Tap or click the spot whose colour you want (or move the cross with the arrow keys).
- Copy the HEX, RGB or HSL code, or tap a palette colour to copy it.
Private
Your files are processed in your browser and never uploaded.
Fast
No upload or queue. Results are ready in seconds.
Free
No sign-up, no limits and no watermark on your files.
Frequently asked questions
How do I find the HEX code of a colour in a picture?
Open the picture here and click the colour; the HEX code (for example #1D4ED8) appears with a Copy button. RGB and HSL versions of the same colour are shown below it.
How are the main colours found?
The tool groups similar pixels using median cut: it repeatedly splits the colours along the channel with the widest spread until there are 8 groups, then averages each group. Transparent pixels are ignored.
Why is the picked colour slightly different from what I expected?
Photos have noise, so neighbouring pixels differ a little; JPG compression adds small changes too. Pick from a flat area, or use the palette, which averages many pixels.
Are my files uploaded to a server?
No. This tool runs entirely inside your browser, so your files never leave your device. Nothing is stored or seen by us.



