Image Color Picker

Upload an image, click any pixel, and read its exact colour as HEX, RGB, HSL and CMYK — click a value to copy. All in your browser.

Image Tools Free No upload Instant

Loading Image Color Picker…

Your browser is preparing the tool. It runs 100% locally.

Quick Answer

The Image Color Picker is an eyedropper for an uploaded image: click any pixel and it reads that pixel's exact colour from a canvas and shows it as HEX, RGB, HSL and CMYK — click any value to copy. It works on an image in any browser and runs entirely on your device, so nothing is uploaded. It reads a single pixel in the sRGB colour space.

What the Image Color Picker Does

It is an eyedropper for an image you upload. You click a spot on the picture and it reports the exact colour of that pixel in four formats at once — HEX, RGB, HSL and CMYK — each one a click away from your clipboard.

Unlike a swatch picker, it samples a real photo or graphic, so you can lift the precise colour out of a logo, screenshot, mockup or photograph.

How It Works

Your image is drawn onto an in-page canvas. When you click, the tool maps your click to the matching canvas pixel and reads that pixel's red, green and blue bytes straight from the canvas with getImageData, then converts them to the other formats.

It all runs in JavaScript on your device — the picture is never uploaded, and it works the same on a phone as on a desktop.

Processing pipeline

  1. Upload an image. Drop or choose any image; it is drawn onto a canvas in your browser.
  2. Click a pixel. The cursor becomes a crosshair — click anywhere on the image to sample that point.
  3. It reads the colour. It reads that pixel's red, green and blue values straight from the canvas.
  4. Copy any format. It shows HEX, RGB, an rgb() string, HSL and CMYK — click any value to copy it.

Privacy

Your image is drawn onto a canvas and read entirely in your browser — the pixel colours are sampled locally with no upload and no server copy.

Nothing is stored and there is no account; close the tab and the image leaves memory, so it is fine for private or unreleased artwork.

Technical Details

ActionUpload, then click a pixel
ReadsExact pixel colour via canvas getImageData
OutputsHEX, RGB, rgb(), HSL, CMYK
CopyClick any value
Colour spacesRGB
Large imagesScaled to 2000px on the longest side
UploadNever — runs in your browser

Standards & references

  • Canvas getImageData (MDN) — reads pixel data from the canvas as red, green, blue and alpha bytes (0-255) in the sRGB colour space — the exact value this tool reports.
  • EyeDropper API (Chromium 95+) — browsers' built-in eyedropper can sample any pixel on screen but is Chromium-only (no Safari or Firefox yet). This canvas-based tool instead works on an uploaded image in any browser.
  • sRGB (IEC 61966-2-1) — the default colour space the canvas reads. An embedded wide-gamut (Display-P3) profile is not applied, so values are reported in sRGB.
  • CMYK approximation — the CMYK percentages use a profile-free formula, the same as the other colour tools — a screen-to-print estimate, not colour-managed output.

Accuracy & Limitations

It reads a single pixel — a point sample, not an average of an area. On a JPEG-compressed, noisy or anti-aliased edge, neighbouring pixels can differ, so click the middle of a flat area for a representative colour.

For images up to 2000px on the longest side you get the exact source pixel. Larger images are scaled down for performance, so a picked colour is the displayed pixel — a close blend of nearby source pixels rather than the exact original byte.

The colour is read in sRGB. If your image carries a wide-gamut (Display-P3) profile, the canvas still reports sRGB values, so very saturated colours can read slightly differently from a colour-managed editor.

HEX, RGB and HSL are exact conversions of the read pixel. The CMYK percentages are a profile-free approximation for rough print reference, not colour-managed output.

Fully transparent areas read as black (0, 0, 0) because the canvas has no background behind them — click an opaque part of the image.

Real-World Use Cases

Matching a brand colour

Pull the exact HEX from a logo or a screenshot to reuse it elsewhere.

Sampling from a photo

Lift a colour from a photograph to build a palette or design around it.

Web and UI work

Read a colour from a mockup and drop the HEX or rgb() straight into CSS.

Checking a pixel

Confirm what a colour actually is, in four formats at once.

When to use it — and when not to

Good for

  • Reading a colour from an uploaded image
  • Matching a brand HEX from a logo or screenshot
  • Sampling a photo for a palette
  • Getting HEX, RGB, HSL and CMYK from one pixel

Not the best choice for

  • Picking a colour from anywhere on your screen
  • Averaging a region instead of one pixel
  • Colour-managed, print-accurate CMYK
  • Reading a wide-gamut value exactly

To pick from a swatch rather than an image, use the Color Picker. To pull a whole palette from an image automatically, use the Color Palette Extractor. To sample anywhere on screen, use a Chromium browser's built-in eyedropper or a desktop tool.

Frequently Asked Questions

How do I pick a colour from an image?
Upload the image and click any pixel. The tool reads that pixel's colour and shows it as HEX, RGB, HSL and CMYK; click any value to copy it.
Does it pick the exact pixel I click?
Yes for images up to 2000px on the longest side. Larger images are scaled down for performance, so the picked colour is the displayed pixel — a close blend of nearby source pixels.
What formats does it give me?
HEX, RGB (as numbers and as an rgb() string), HSL and CMYK — five values you can copy with a click.
Can I pick a colour from anywhere on my screen?
No. This tool works on an image you upload. To sample anywhere on screen, use a Chromium browser's built-in eyedropper or a desktop colour tool.
Is my image uploaded?
No. The image is drawn onto a canvas in your browser and read locally. Nothing is sent to a server.
Why does the colour look slightly off from my editor?
Two reasons: a single pixel on a JPEG or an edge can differ from its neighbours, and the canvas reads in sRGB, so a wide-gamut image can read a little differently. Click a flat area for a representative colour.
Is the CMYK accurate for printing?
Treat it as a rough guide. The CMYK is a profile-free approximation; real print work needs a colour-managed conversion with an ICC profile for your press and paper.
Why is the picked colour a blend on a big photo?
Images over 2000px are scaled down so the page stays fast, and scaling blends pixels. Pick from an image at or under 2000px on the longest side for the exact original pixel.
What happens if I click a transparent area?
It reads as black (0, 0, 0), because the canvas has no background behind a transparent pixel. Click an opaque part of the image to get a real colour.
Which colour does it read on an edge?
Exactly the pixel under your click. Anti-aliased edges blend two colours, so click a flat interior area for the true colour.
Does it work on mobile?
Yes. Tap the image to pick a colour; the reading and one-tap copy work the same on a phone.
Is it free?
Yes, completely free with no sign-up.

References

Documented against this tool's own code: it draws your image to a canvas and reads the clicked pixel with getImageData in sRGB — so the page is honest that it is a single-pixel sample, that very large images are scaled for performance, and that the CMYK is a profile-free approximation.

PopularHot

Image Compressor

Image Compressor online, free and private. Process images instantly on your device.

ImageOpen Tool
PopularNo Upload

Image Resizer

Edit and convert Image Resizer right in your browser — no upload, no quality loss.

ImageOpen Tool
Popular

Image Cropper

Edit and convert Image Cropper right in your browser — no upload, no quality loss.

ImageOpen Tool
Popular

Favicon Generator

Favicon Generator online, free and private. Process images instantly on your device.

ImageOpen Tool
Popular

Image to PDF

Use Image to PDF to transform images locally — fast, secure and watermark-free.

ImageOpen Tool
Trending

PNG to WebP Converter

Edit and convert PNG to WebP Converter right in your browser — no upload, no quality loss.

ImageOpen Tool

Ready to try the Image Color Picker?

It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.