Get the HEX Code from an Image
Click anywhere on your picture to read its HEX color code, such as #4F46E5. Copy it and paste it straight into your CSS, design software, or document.
Pick exact HEX, RGB and HSL color codes from any image and build a color palette from it. Fast, free and no signup.
Click or tap anywhere on the image to pick a color. On a phone, touch and drag to fine-tune.
Your image never leaves your device. Everything happens in your browser, so nothing is uploaded.
Upload a picture, drag it in, or paste it with Ctrl+V.
Click or tap any spot on the image. A magnifier shows the exact pixel.
Copy the HEX, RGB, HSL, HSV or CMYK value with one click.
Looking for a free image color picker? Pick a color from an image online and get its exact color code in seconds. Upload a photo, logo, screenshot, or design, click on any spot, and copy the HEX, RGB, HSL, HSV, or CMYK value. A built-in magnifier shows the exact pixel under your cursor, and the tool also builds a color palette from your image. Everything runs in your browser, so your picture is never uploaded, and there is no signup or watermark.
Click anywhere on your picture to read its HEX color code, such as #4F46E5. Copy it and paste it straight into your CSS, design software, or document.
Every color is shown as HEX, RGB, HSL, HSV, and CMYK at the same time, so you can copy the format that your project needs without converting it yourself.
See the main colors of your picture as a ready-made palette. Click a swatch to select it, or copy the whole palette in one go.
You do not need to install design software to find the color code of a picture. Use the online image color picker by following these simple steps.
This free image color picker works with JPG, PNG, WebP, GIF, and other image formats that your browser can open, with up to 20 MB for each image.
A color can be written in several ways. The picker shows all of them so you can use whichever one your project needs.
The picker reads the pixel color exactly as your browser shows it. A color can still differ a little from the one in your original design file. JPG compression adds tiny variations between neighboring pixels, screenshots can change colors slightly, and photos often contain gradients and noise.
If you want a steadier result, switch the sample size to 3×3 or 5×5. The tool then averages a small area around the point you click instead of reading a single pixel.
Our free image color picker makes it easy to find the color code of any picture. Add an image, click a color, and copy its value to your device. The tool is designed for convenient color picking without signup or a watermark, and it works on desktop and on mobile browsers.
On browsers that support it, you can also use Pick a color from your screen to pick a color from anywhere on your display, not only from the uploaded image.
Find answers to common questions about picking colors from an image, color codes, and color palettes.
Add your image to the color picker, then click or tap the spot whose color you want. The color appears in the Selected color panel with its HEX, RGB, HSL, HSV, and CMYK values, and you can copy any of them.
Click the color in the picture and look at the HEX row in the Selected color panel. Click Copy to copy the code, for example #4F46E5, and paste it where you need it.
Yes. Every picked color is shown as HEX, RGB, HSL, HSV, and CMYK at the same time, and each value has its own Copy button.
No. The image is opened and read inside your browser, and it is not uploaded or stored anywhere. When you close or refresh the page, the image is gone from the tool.
JPG compression, screenshots, and noise in photos can change nearby pixels slightly. For a steadier result, set the sample size to 3×3 or 5×5 so the tool averages a small area. For logos and flat graphics, a single pixel is usually exact.
Sample size controls how many pixels are read for each pick. 1 pixel reads exactly the pixel you click. 3×3 and 5×5 average the pixels in a small square around that point, which smooths out noise.
When you add an image, the tool looks at its pixels and groups similar colors together, then shows the most common distinct colors as swatches. Click a swatch to select it, or use Copy all to copy the whole palette.
Yes. Tap the image to pick a color, or touch and drag to move the magnifier and fine-tune the spot before you lift your finger.
You can use JPG, PNG, WebP, GIF, and other image formats that your browser can open, with up to 20 MB for each image. Transparent areas are treated as white.
In browsers that support the EyeDropper feature, such as recent versions of Chrome and Edge on desktop, a Pick a color from your screen button appears. It lets you pick a color from anywhere on your display. If you do not see the button, your browser does not support it.
The CMYK value is a simple mathematical conversion from the screen color, so it is a good starting point but not a guarantee. Printed colors depend on the paper, the ink, and the printer profile, so check a proof before a print job.
Yes. You can pick colors from images online for free, with no signup and no watermark.
Merge, split, compress and convert files in seconds. Explore everything in one place.
All Tools