Image Color Picker
Click any pixel of an image to get its HEX, RGB and HSL colour values.
Design work constantly asks one small question: what colour is that, exactly? The brand blue in a client’s screenshot, the background of a photo, the text colour in a mock-up. This picker answers it the direct way — you open the image, click the pixel, and get the colour in the three notations that cover nearly every use: HEX (#1A73E8 style) for CSS and design tools, RGB for code and image editors, and HSL when you need to reason about hue and lightness or build a matching shade.
The image is drawn into this page on your device and read pixel by pixel — it is never uploaded. Colours are read from the image as displayed, so a JPEG photo gives the colour of that pixel in the file, compression artefacts included.
Quick answers
How can I pick a colour from an image?
Open the image in a picker and click the pixel: you get that pixel’s colour as HEX, RGB and HSL. Pure red, for example, reads #FF0000 / rgb(255, 0, 0) / hsl(0, 100%, 50%).
Here the whole job runs in your browser — the image is never uploaded. In compressed photos, adjacent pixels vary slightly, so expect near-identical values rather than one flat colour.
What colour is (0, 128, 0) in HEX and HSL?
RGB (0, 128, 0) is #008000 in HEX and hsl(120, 100%, 25%) in HSL — a mid green at quarter lightness.
The picker shows all three notations for every pixel you click, which is the same conversion worked in whichever direction you need.
How to use
- Open an image file — a photo, a screenshot, a logo, any picture on your device.
- The image appears in the page; click or tap the exact pixel whose colour you need.
- Read the colour three ways — HEX, RGB and HSL — next to a swatch of the colour itself.
- Copy the HEX value for use in CSS, a design tool or a document.
About this tool
The reading is honest about what it is. The colour comes from the image file as displayed, pixel by pixel: pure red reads as #FF0000, rgb(255, 0, 0), hsl(0, 100%, 50%), and a mid green (0, 128, 0) reads as #008000, hsl(120, 100%, 25%). In a JPEG photograph, neighbouring pixels differ slightly because of compression, so clicking twice near the same spot can give two near-identical but different values — that is the file telling the truth, not the tool wobbling. Nothing is uploaded: the image is drawn into this page on your device and read locally.
Frequently asked questions
How do I get the HEX code of a colour in a photo?
Open the photo here and click the pixel. The swatch panel shows the HEX value first — for example pure red is #FF0000 — with a Copy HEX button beside it. Zoom in first (the image is shown at a readable size and clicks are mapped back to the full-resolution pixels) when the area you need is small.
What is the difference between HEX, RGB and HSL?
They are three spellings of the same colour. HEX (#FF0000) is the compact web notation. RGB (255, 0, 0) states the red, green and blue channels separately. HSL (0, 100%, 50%) states hue, saturation and lightness, which is easier to adjust by eye — same red, three dialects. This tool shows all three for every click so you never need a second converter.
Why do two clicks on the same area give slightly different colours?
Because a photograph is not flat colour: JPEG compression, gradients, shadows and texture make almost every pixel a slightly different shade. The picker reports the exact pixel you clicked. For a logo or a flat graphic the clicks will agree exactly; for a photo, average the area in your head and take a representative click.
Is my image uploaded to a server?
No. The file is read by your browser, drawn into the page and sampled locally. It is never sent, stored or added to a link — you can close the page and nothing about the image remains anywhere.
First time embedding? Read the step-by-step guide →
More free tools
Base64 Encode / Decode
Encode text to Base64 or decode it back.
Color Converter (HEX ↔ RGB)
Convert HEX to RGB and back, with live preview.
Unit Converter
Convert length, weight and temperature instantly.
Currency Converter
Daily ECB reference rates for 26 currencies — updated once per business day.
World Clock & Time Converter
Current time in major cities, plus converter.
Meeting Time Planner
Find overlap hours across time zones.