Color Picker from Image — Free

Upload any photo, click any pixel and get its exact colour — HEX, RGB and HSL, ready to copy. No signup, nothing uploaded.

Honest limits — read first: Screen eyedropper works in Chrome/Edge/Brave/Opera only — on Safari/Firefox, screenshot and upload instead. Sampled values are sRGB; a Display P3 photo's hex is a clipped approximation. CMYK is an estimate, not print-accurate. This page reads colours from an uploaded image only — it cannot sample your screen or other apps. JPEG photos vary pixel to pixel, so click a few nearby spots and compare. Very large images are downscaled to 1600 px before sampling.

Your image

No image chosen yet. Tip: click a flat area of colour, not an edge.

Zoom:

Loupe + zoom + arrow keys, together: hover to see the magnifier, zoom in for a small detail, then use the arrow keys to nudge one pixel at a time (Shift + arrow = 10 pixels) and press Enter to lock the colour. Click the image first to give it keyboard focus.

Hover over the image to preview a colour — click to pick it.

Your image is decoded in the browser via canvas — nothing is sent or stored.

Picked colour

HEX—
RGB—
HSL—
RGBA—
HSV—
CMYK—
OKLCH—
LAB—

Closest named colour: —

--color: #888888;

No pixel picked yet.

Dominant palette

The six most common colours in the image, with each colour's share of the picture. Click one to load it as the picked colour.

Recent picks

Click a recent swatch to copy its HEX code. Recent picks are kept in this browser and survive reloads.

The problem: "I love that colour — what is it?"

Every frontend developer hits this: a designer sends a screenshot, a client sends a logo, and you need the exact HEX value of one colour in it. Guessing by eye never lands the right shade — one developer in a forum thread described spending an hour nudging a picker to match a sky from a holiday photo and still getting it wrong. The usual workarounds are heavy: open Photoshop or Figma and import the file, dig through Chrome DevTools (which only samples colours inside the current page), or install a browser extension. On a phone there is often no workaround at all. People want the simplest possible flow: drop the image in, click the spot, copy the code.

How do I find the HEX code of a colour in a photo?

Upload the photo here, hover over the colour you want — the magnifier shows the exact pixels — and click. The tool reads that pixel's true colour from the image data and shows it as HEX, RGB and HSL, each with a one-click copy button. It is free, with no signup, and the image never leaves your browser. This page samples an uploaded image only; it cannot pick colours from your screen or other apps.

An image colour picker, also called an online eyedropper, reads the red, green and blue values of one pixel in a photo and converts them into codes you can paste into a project. A regular colour picker gives you a wheel and asks you to hunt for a shade; this one starts from a real image, so the colour you want is already there waiting to be grabbed.

How to pick a colour from an image in 3 steps

STEP 1

Upload the image

Choose any JPG, PNG or WebP — a photo, a screenshot or a logo. It stays in your browser.

STEP 2

Click the colour

Hover to preview with the magnifier, then click the exact pixel. The HEX, RGB and HSL appear instantly.

STEP 3

Copy and use it

Click Copy next to HEX, RGB or HSL and paste it into CSS, Figma, Canva or your brand notes.

Hitting the exact pixel: loupe, zoom and arrow keys

On a thin letter edge, an icon or pixel art, a bare eyedropper shows only the colour under the cursor — click, check, re-click. This page combines the three precision aids: the magnifier shows a 9×9 pixel area (tighter at higher zoom) with the centre pixel outlined, the zoom buttons enlarge the image 2× or 4×, and the arrow keys nudge the sample one pixel at a time (Shift + arrow jumps 10). No top-5 image picker in our research owned all three end to end; this page does, and the magnifier, zoom and nudging all move the same sample point, so what you see is what gets copied.

Getting a whole palette from one image

Press "Extract palette from image" and the tool counts the colours in the picture (grouped into buckets on the canvas copy, in your browser) and shows the six most common, each with its share of the picture. Export is by copying: click a palette colour to load it, then copy its HEX, RGB, HSL or CSS variable. The palette is the most frequent colours, not a design judgement — a busy photo can give you its background rather than its subject, so pick the colours that matter and ignore the rest.

Why do nearby pixels give different codes?

Because photos are not flat colour. JPEG compression, soft edges, noise and lighting mean the pixel under your cursor is often a few shades off from the one next to it. The eyedropper reads the exact pixel you click — no averaging — so click a few different spots in the same area and compare them under Recent picks. For a brand colour, pick from a large flat region (a logo block, a solid background) rather than an edge or a gradient. If you are matching paint, treat the code as a rough guide: cameras shift colours through white balance and compression, and the screen you are looking at shifts them again.

Image picker vs screen eyedropper — which do I need?

Use this page when the colour lives in a file: a photo, a screenshot, a logo. If the colour is on a live web page, Chrome and Edge have a built-in eyedropper in DevTools — open DevTools (F12), inspect an element, click the colour swatch in the Styles panel — but it only works on colours inside the current page, and the EyeDropper API behind it is Chromium-only, with no Firefox or Safari support. For a colour in a PDF or another app, take a screenshot and upload it here: that works in every browser.

FAQ

How do I pick a colour from an image?

Upload, drag-and-drop or paste (Ctrl/Cmd+V) the image into an image colour picker, hover to see the magnifier, click the pixel — the HEX, RGB, HSL and HSV appear instantly with a copy button each.

Can I pick a colour from a screenshot on my phone?

Yes — take the screenshot, open this picker page, choose the image from your photo library (or share it to the browser), pinch to zoom, tap to lock the colour. HEIC iPhone photos are auto-converted on some tools; if yours is not accepted, export it as JPG first.

Why does the hex not match what Photoshop or Figma shows?

Usually the image carries a wide-gamut profile (Display P3, the phone default): the hex is a clipped sRGB approximation. Screen calibration, colour-management settings and JPEG compression can also shift values by a step or two.

Can I get a whole palette from one image?

Yes — press “Extract palette from image” and this tool shows the six most common colours, with each colour's share of the picture. Click one to load it, then copy its HEX, RGB, HSL or CSS variable.

Is my image uploaded to a server?

No — the image is decoded in the browser via canvas (getImageData), the pixels are read locally, and nothing is sent or stored.

Is the color picker from image really free?

Yes. Upload and sample as many images as you like — no signup, no watermark, no upload. Everything runs in your browser.

Why does the colour from a photo look different from real life?

Cameras change colours through lighting, white balance and compression. The eyedropper reads the browser-decoded image, so click a few spots and compare them. For paint matching, treat the code as a rough guide.

Can it pick a colour from my screen?

No — this page samples an uploaded image only. In Chrome or Edge you can use the built-in DevTools eyedropper for colours on a web page; otherwise take a screenshot and upload it here. The screen eyedropper API is Chromium-only, with no Firefox or Safari support.

How do the loupe, zoom and arrow keys work together?

Hover to see the magnifier (a 9×9 pixel area, tighter at higher zoom), zoom to 2× or 4× for a small detail, then use the arrow keys to nudge one pixel at a time — Shift + arrow jumps 10 pixels — and press Enter to lock the colour. Click the image first to give it keyboard focus.

Which colour formats do I get?

HEX, RGB, RGBA, HSL, HSV, CMYK (an estimate, not print-accurate), OKLCH and LAB, all live-linked from the same pixel, plus a CSS variable line (--color: #…;) to paste into a stylesheet. Every format has its own copy button.

What is this colour called?

Every picked colour shows its closest named colour underneath the codes, with how close the match is. Names are nearest-match labels from a list of common named colours — only the 148 CSS names are exact, so trust the HEX code when the match is distant.

Can I pick the dominant colour of an image?

Yes — the palette extractor lists colours by share, so the first colour is the most common one in the picture. Pick a few pixels from the largest flat areas and compare if you want to confirm it.

Why is my image downscaled before sampling?

Very large images are downscaled to 1600 px before sampling so the page stays fast. The sampled pixel is the one in the shown image, so for a tiny detail, crop the photo first and upload the crop.

Why do nearby pixels give different codes?

Because photos are not flat colour. JPEG compression, soft edges, noise and lighting mean the pixel under your cursor is often a few shades off from the one next to it. The eyedropper reads the exact pixel you click — no averaging — so click a few different spots in the same area and compare them under Recent picks.

Related questions

How do I get a whole palette from an image? Press "Extract palette from image" — the six most common colours appear with each colour's share of the picture. Or pick one pixel at a time and build the palette from your recent picks.

What is the difference between HEX and RGB? Both describe the same colour. RGB uses three numbers from 0 to 255, while HEX writes the same numbers in hexadecimal after a hash — rgb(255, 87, 51) is #FF5733.

Can I pick the dominant colour of an image? Yes — the palette extractor lists colours by share, so the first colour is the most common one in the picture. Pick a few pixels from the largest flat areas and compare if you want to confirm it.

Why is my picked colour slightly off from the design file? The image may have been compressed or re-saved. Sample from the original file, not a screenshot of a screenshot, for the truest code.