Image Color Picker
Click a picture to get the color as HEX, RGB and HSL, see its main colors, and check if text in that color can be read. It all happens on your device.
How to pick a color from an image
- Drop a JPG, PNG or WebP picture in the box above.
- Click or tap the spot you want. Use the magnifier, or the arrow keys and Enter, for the exact pixel.
- Copy the HEX, RGB or HSL value. Press “Add to my colours” to keep it in a list you can copy all at once.
Good to know
- A photo has many slightly different colors even in one wall or sky. Pick a few spots, or use the main colors list, for a color that stands for the area.
- The colors are those of the picture file. They can look a little different on another screen or in print.
- To pick from one part only, cut it out first with the image cropper. To turn a logo into website icons, use the favicon generator.
Frequently asked questions
How do I get the color code of a picture?
Add the picture and click or tap the spot you want. Its HEX code (like #FF5733), RGB and HSL values appear below, each with a Copy button. Drag along the picture to move, and watch the magnifier to hit the exact pixel.
How do I find the main colors of a photo?
As soon as the picture is added, the page lists its main colors (up to eight) with how much of the picture each one covers. Click one to use it. The palette is found on your device, from the pixels of the picture.
Can I pick a color from anywhere on my screen?
In Chrome and Edge, yes: press "Pick from anywhere on the screen". It uses the browser's own dropper, which also works on other windows. Firefox and Safari do not have it yet, so there you pick from a picture (take a screenshot first and add it here).
What do HEX, RGB and HSL mean?
They are three ways to write the same color. HEX (#FF5733) is used in web design and CSS. RGB gives the red, green and blue amounts from 0 to 255. HSL gives the hue (the angle on the color wheel), the saturation and the lightness, which is easy to adjust by hand.
What does the contrast check tell me?
It shows how readable text in the chosen color would be on a white and on a black background. 4.5:1 or more (AA) is good for normal text; 7:1 or more (AAA) is best; between 3 and 4.5 is only fine for large text.
Is my picture uploaded?
No. The picture is read in your browser, on your device. Nothing is sent to a server, and nothing is kept.
More image tools
Image compressor
Make JPG, PNG and WebP photos smaller without visible loss.
Compress image to 20 KB
Get a photo or signature under 20 KB for online forms.
Compress image to 50 KB
Get a photo under 50 KB for job and exam forms.
Compress image to 100 KB
Get any photo under 100 KB in one step.
Compress image to 200 KB
Get a photo or scan under 200 KB.
MM to pixel converter
Turn a size in mm, cm or inches into pixels at a DPI, or pixels into mm. A4 and photo sizes ready.