Color Picker from Image
Click any pixel in a photo to get its HEX, RGB and HSL values. Images stay on your device.
Add an image and tap any spot to read its colour code.
Click or tap to pick. Drag to aim on touch. Use arrows to move, Shift for 10 pixels, and Enter to pick.
Add an image, then tap it to pick a colour.
Selected color
- Contrast on white
- Contrast on black
Image palette
Color converter
Recent picks
Processed on this device — nothing is uploaded
What you can do here
- Pick a colour from an image
- Copy HEX, RGB and HSL
- Compare contrast on white and black
- Revisit the last five picks
What does Color Picker from Image do?
Open a screenshot or photo and click the colour you want. A leaf green sampled at #44853D reads as rgb(68, 133, 61), and the contrast panel shows how readable white and black text would be on it. The magnifier grid helps when the image is scaled down to fit.
You can also type a HEX, RGB or HSL value into the converter without opening a file, and the last five picks stay listed on the page.
Key facts
- Price
- Free
- Sign-up
- None
- Upload
- None — runs on your device
- Updated
How to pick a color from an image
- Open an image
Drop a JPG, PNG, WebP, GIF or BMP up to 50 MB, browse for one, or paste an image you copied.
- Click the exact pixel
Move over the image and use the magnified grid to line up. Arrow keys nudge the pick when the image has focus.
- Copy the code
Copy HEX for CSS, RGB for design tools or HSL for adjusting lightness. The contrast ratio shows against white and black.
Frequently asked questions
Are my files uploaded?
Your browser processes images on this device and nothing is uploaded. The site counts anonymous usage events such as opening an image or copying a color, with no file names or contents.
How do I turn a HEX code into RGB?
Type the code into the converter, for example #44853D. It returns rgb(68, 133, 61) and the HSL equivalent.
How does the palette choose its swatches?
It groups colours from a reduced copy of the image into up to six common ones, so a flat logo can give fewer than six.
Can I pick a color from another window?
Use Pick from screen if your browser shows that button. You can also take a screenshot and open it as an image on this page.
Which image formats does the picker accept?
Choose a JPG, PNG, WebP, GIF or BMP that your browser can read, up to 50 MB. The preview uses the image's recorded orientation when available.
Related tools
About this tool
Made by ZirkoMirko. Last updated .
Check it yourself in your browser’s Network panel while using the tool. How we handle your data.