Image Color Picker
Image Color Picker — Click any pixel in your photo to get its HEX, RGB and HSL codes Free to use online, no sign-up; runs 100% in your browser on ScopeTreasure.
In short: Click any pixel in your photo to get its HEX, RGB and HSL codes — plus the image’s dominant colors. Free to use in your browser — no sign-up.
What is Image Color Picker?
Image Color Picker finds the exact color of any pixel in your photo. Upload an image, click anywhere on it, and read the HEX, RGB and HSL codes of that spot — with copy buttons for each. It also pulls out the image’s dominant colors as a palette you can click and copy.
How to use this tool
- Upload an image — any PNG, JPG or WebP up to 25 MB.
- Click anywhere on the image to pick that pixel’s color.
- Read the HEX, RGB and HSL codes shown underneath.
- Press Copy next to the code you need for your website or design.
- Click any color in the palette to copy one of the image’s dominant colors.
About this tool
Every pixel on a screen is one color, made of three numbers: red, green and blue, each from 0 to 255. Pure red is 255, 0, 0 — full red, no green, no blue. Black is 0, 0, 0 and white is 255, 255, 255. Clicking a pixel simply reads those three numbers for that exact spot, so the color you get is the color that is really there.
The same color has three names. HEX writes the three numbers as 6 hex digits after a # sign — pure red is #FF0000. RGB writes them as plain numbers — rgb(255, 0, 0). HSL reads the color a different way: hue is the position on the color wheel from 0 to 360 degrees, saturation is how strong the color is, and lightness is how bright it is. Pure red is HSL 0, 100%, 50% — hue 0 degrees, full strength, half brightness.
The palette shows the image’s dominant colors: the colors that cover the most area. The tool samples thousands of pixels across the image, groups colors that are nearly the same, and counts how much of the image each group covers. The top 8 groups become the palette, so a beach photo gives you the blue of the sea, the yellow of the sand and the white of the clouds — the colors that truly define the picture.
This is the fastest way to match a color you can see but cannot name. A designer takes the exact blue from a client’s logo for a website. A student finds the exact shade of a flower in a photo for a poster. A painter picks the color of a sunset from a picture to mix the paint. Copy the code and the color is exactly the same everywhere you paste it.
Photos are never perfectly flat: a red wall in a photo has slightly different reds from pixel to pixel, because of light, shadows and the way JPG files compress detail. For the truest color, click the middle of a flat patch of color, not an edge or a shadow. If two clicks a few pixels apart give slightly different codes, either one is a fair reading of that area.
Everything runs on your device: the image is read in your own browser and never sent anywhere, so private photos stay private. Images up to 25 MB work, and the palette is made from a small copy of the image, so even a big photo finishes fast.
Example — the exact red of a logo:
A student needs the red of a heart in a photo for her poster. She uploads the photo and clicks the middle of the heart. The tool shows #E63946 — RGB 230, 57, 70 and HSL 355, 78%, 56%. She copies the HEX code into her poster app, and the title turns exactly that red. The palette below also lists the same red among the top colors, plus the soft blue of the sky in the photo — #3498DB, RGB 52, 152, 219, HSL 204, 70%, 53% — which she uses for the subtitle.
Frequently asked questions
- How do I pick a color from my image?
- Upload an image up to 25 MB, then click anywhere on it. The HEX, RGB and HSL codes of that pixel appear underneath, ready to copy.
- What do HEX, RGB and HSL mean?
- Three ways to write the same color. HEX is # plus 6 hex digits, RGB is three numbers from 0 to 255, and HSL is hue (0–360 degrees), saturation and lightness (0–100%). Pure red is #FF0000, RGB 255, 0, 0, HSL 0, 100%, 50%.
- Why do nearby pixels show slightly different colors?
- Photos have light, shadows and JPG compression, so a flat red wall still has slightly different reds from pixel to pixel. Click the middle of a flat patch for the truest color.
- What is the palette under the image?
- The image’s 8 dominant colors — the colors covering the most area. Click any palette color to pick it and copy its codes.
- How do I copy a color code?
- Press Copy next to the HEX, RGB or HSL value. You can also click a palette color to pick it, then copy from there.
- What image types work?
- PNG, JPG, WebP and any other image your browser can open — up to 25 MB.
- Is there a size limit on the image?
- Yes — 25 MB. The palette is made from a small copy of the image, so even a big photo finishes fast.
- Is my image private?
- Yes. The image is read in your own browser and never leaves your device.