Pick a color from an image
Point at any pixel of a photo, screenshot or logo and get its exact color code. A magnifier shows the pixels around the pointer so you hit the right one.
Your files never leave your device
Drop an image to pick colors from
JPG, PNG, WebP, AVIF, GIF or BMP, or paste a screenshot. It stays on your device.
You can also paste files with Ctrl+V.
In short
To pick a color from an image, open or paste it here, move the pointer over it and click the spot you want. The color appears as a large swatch with HEX, RGB and HSL values, each with a copy button, plus the closest CSS color name.
How to pick a color from an image
- Press Choose image, drop a picture onto the page, or paste a screenshot with Ctrl+V (Cmd+V on a Mac).
- Move the pointer over the image. The magnifier shows the enlarged pixels around it and the color under the pointer.
- Click or tap to pick. With a keyboard, arrow keys move one pixel, Shift with an arrow moves ten, and Enter picks.
- Copy the HEX, RGB or HSL value with its copy button. Earlier picks stay in Your picks so you can compare them.
- Scroll to Main colors for the image's dominant colors, and use Copy all as HEX or Copy as CSS variables.
Why the color you see is not always one color
A flat-looking area in a photo is usually made of many slightly different pixels: noise from the camera, JPEG compression blocks and soft edges all vary the values. Picking a single pixel at random can give a shade that is a little lighter or darker than the area looks overall.
The magnifier helps here. Aim at the middle of the area rather than its edge, check a few pixels nearby and compare them in Your picks. For logos and screenshots saved as PNG, colors are usually exact and one click is enough.
Frequently asked questions
How do I find the HEX code of a color in an image?
Click the color in the image and the HEX value appears next to the swatch, ready to copy. The HEX color from image page puts HEX codes first.
Can I get the name of a color from a picture?
Yes. Below the codes the tool shows the closest CSS color name, such as Closest name: steelblue. It is the nearest of the standard web color names, so it is a good description rather than an exact match.
Can I pick a color from my screen, not just an image?
In Chrome and Edge on a computer, Pick from the screen opens the browser's eyedropper and lets you click any color anywhere on your screen. Other browsers and phones don't offer it, so take a screenshot and paste it here instead.
How do I pick a color from an image on iPhone?
Open this page in Safari, choose the photo from your library and tap the spot you want. The magnifier shows what is under your finger, so you can tap again a little further if needed.
What is the difference between HEX, RGB and HSL?
They describe the same color in different ways. HEX is a compact code for web and design apps, RGB gives the red, green and blue amounts from 0 to 255, and HSL gives hue, saturation and lightness, which is easier to adjust by hand.
Can I get a color palette from an image?
Yes. Main colors finds the dominant colors automatically, 5, 6, 8 or 10 of them, each with its share of the image in percent. The color palette from image page opens with eight.
Is my image sent to a server?
No. The picture is opened in this tab and every color is read on your own device. Nothing is saved after you close the page.
Where an exact color code helps
Screenshots are the most reliable source, because they store exactly the colors shown on screen. Photos of printed or painted surfaces depend on the light they were taken in, so treat the code as a close starting point.
- Matching a brand color from a logo for a website or slide
- Reusing a shade from a photo in an illustration or poster
- Checking which color a design mock-up really uses
- Describing a paint or fabric color with a standard name
Using the copied values
Copy as CSS variables gives lines you can paste straight into a stylesheet, while Copy all as HEX gives a plain list for design apps. If the area you need is small, crop it first with crop image so the main colors describe only that part.
How your files stay private
Lumofile runs this tool with JavaScript and WebAssembly inside your browser tab. Your files are read from your disk, processed in memory and saved back to your device. Nothing is uploaded: open your browser's network panel while you use the tool and you will see no upload request.
Presets
Related tools
- Crop image Crop a picture freely, to a fixed ratio, to exact pixels or to a circle, right in your browser.
- Image converter Turn JPG, PNG, WebP, AVIF, GIF, BMP, ICO and SVG files into JPG, PNG, WebP or AVIF.
- Resize image Change image dimensions in pixels, percent or presets, one file or hundreds, without uploading.
- Image to text Extract printed text from photos and screenshots with OCR in your browser, then copy it or save a .txt.
- Compress image Shrink JPG, PNG, WebP and AVIF files, or fit them under a size in KB, without uploading.
- HEIC to JPG Convert iPhone HEIC photos to JPG or PNG in bulk, with GPS removed, without uploading them.
Guides
Last updated Nov 20, 2026