Color picker from image
Click any point on an image to get the exact color of that pixel as a HEX, RGB and HSL code.
Your files stay on your device. Nothing is uploaded.
Step 1: Add an image
Drag and drop an image here
or
JPG, PNG, WebP, GIF or BMP. Up to 50 MB.
Step 2: Pick a color
Add an image, then click or tap any point on it.
Step 3: Picked colors
Colors you pick are listed here, newest first, up to 12. Click one to copy its HEX code.
How to pick a color from an image
-
Add an image
Click Choose image or drag a JPG, PNG, WebP, GIF or BMP file into the box. A screenshot works well.
-
Point and click
Move over the image. The magnifier shows the pixels around the pointer and the code of the pixel in the middle. Click or tap to pick that color.
-
Copy the code
Click Copy next to HEX, RGB or HSL. Every color you pick is added to the list below, so you can collect up to 12 colors and copy any of them.
About this tool
HEX, RGB and HSL
| Format | Example | Use it in |
|---|---|---|
| HEX | #1B4FC4 | CSS, HTML, design apps |
| RGB | rgb(27, 79, 196) | CSS, image editors, Office color dialogs |
| HSL | hsl(222, 76%, 44%) | CSS, when you want lighter or darker shades of a color |
One exact pixel
The picker reads a single pixel, not an average of the area around it. Photos have small color changes from pixel to pixel, so use the magnifier to see the pixels around the pointer before you click.
Why can a code differ from another app?
Your browser shows images in the standard sRGB color space. Some photos, for example from recent phones, use a wider color space and are converted for display, so their codes can differ slightly from what a photo editor shows. Screenshots and web graphics give the same codes.
Privacy
This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.
Frequently asked questions
Can I use the keyboard instead of a mouse?
Yes. Tab to the image and use the arrow keys to move the cross by 1 pixel, or hold Shift to move by 10 pixels. Press Enter to pick the color under the cross.
Does it work on my phone?
Yes. Tap the image to pick a color. To fine-tune, keep your finger on the image and slide it; the magnifier shows the pixel under your finger, and the color is picked when you lift it.
How many colors can I keep?
The list keeps the last 12 colors you picked, newest first. Picking a color that is already in the list moves it to the front. The list is cleared when you reload the page.
What happens with transparent areas?
If the pixel is partly or fully transparent, the tool says how transparent it is. The HEX, RGB and HSL codes show the color without its transparency.
Which images can I use?
JPG, PNG, WebP, GIF and BMP, up to 50 MB. For an animated GIF, the first frame is used. Images above 16.7 megapixels are scaled down to that size first, so one pixel may be a blend of a few neighboring pixels.
Related tools
- OCR Image to text Copy English text from a photo, scan or screenshot (OCR).
- CROP Crop image Crop a JPG, PNG or WebP image to any shape or exact size.
- RESIZE Image resizer Resize JPG, PNG and WebP images by pixels or percentage.
- PNG › JPG PNG to JPG Convert PNG images and screenshots to smaller JPG files.
- WebP › PNG WebP to PNG Convert WebP images to PNG and keep transparency.
- HEIC › PNG HEIC to PNG Convert iPhone HEIC photos to lossless PNG.
- IMG › Smaller Image compressor Make JPG, PNG and WebP images smaller.
- QR QR code generator Make a static QR code for a link, text, Wi-Fi, email or phone.