HomeCreate & design
Color picker from an image
Click a picture to get the exact color code.
Your files never leave your device.
Quick answer
To get a color from a picture, drop it in and click the color you want. The HEX, RGB and HSL codes appear with a Copy button. It runs in your browser.
Drop an image here
or paste from your clipboard
Also takes BMP, GIF, SVG and AVIF. They are turned into PNG first (a GIF keeps its first frame).
How to pick a color from a picture
- Drop a JPG, PNG or WebP picture, or paste it. BMP, GIF, SVG and AVIF work too.
- Move over the picture to preview the color under the pointer.
- Click or tap to pick it. The HEX, RGB and HSL codes appear, each with a Copy button.
- Pick as many colors as you like. The last ten stay below so you can go back to them.
The color is read from the pixel you click, exactly as it is in the picture. A very large picture is shown smaller on the page, which does not change the colors you can pick.
No mouse? Click the picture once, then use the arrow keys to move and Enter to pick (hold Shift to move ten pixels at a time). If a pixel is partly see-through, the page says so, because the color you see on screen also depends on what is behind it.
Common questions
How do I get the HEX code of a color in a picture?
Drop the picture, click the color you want and copy the HEX code that appears. It looks like #1E90FF.
What is the difference between HEX, RGB and HSL?
They are three ways to write the same color. HEX is the short code used in web pages, RGB gives the red, green and blue amounts from 0 to 255, and HSL gives hue, saturation and lightness.
Why does a photo give slightly different codes in nearby spots?
A photo is made of millions of slightly different pixels, so two spots that look the same can differ by a few steps. Click a few places, or use the color palette tool to find the main colors.
Is my picture uploaded?
No. The color is read in your browser, so your picture stays on your device.