Image Color Picker

Upload an image, then click a pixel to sample its color. Images stay in your browser.

Choose an image to begin.

About this tool

Read the color of a single pixel in an image. The file is opened with the File API and drawn onto a canvas in the page; the value is then read back from that canvas, so the image itself is never uploaded.

How to use

  1. Choose an image file.
  2. Click anywhere on the rendered image.
  3. Copy the HEX or RGB value.

What happens to the image

  • Images wider than 720 pixels are scaled down to 720 pixels wide, keeping the aspect ratio. Smaller images keep their size.
  • The picked value is read from one pixel with getImageData(x, y, 1, 1). It is that pixel's color, not an average of the surrounding area.
  • Only the red, green and blue channels are reported. Alpha is ignored.

Limits

  • Because large images are resampled when they are drawn, the value can differ slightly from the original file's pixel. Click a flat, solid area for a reliable reading.
  • A fully transparent pixel reads as black, since the canvas starts transparent and the alpha channel is not shown.
  • One pixel per click; there is no zoom, no averaging and no palette extraction.
  • Very large images take a moment to decode, and the page does not warn before starting.

FAQ

Is my image uploaded?

No. It is read locally with the File API and drawn to a canvas. Nothing from the file leaves the browser.

Why is the color slightly off?

The browser resamples the image when it scales it down for display, which blends neighbouring pixels. Pick a large flat area to avoid it.

Can I pick from a transparent PNG?

Click it, but transparent regions report black because alpha is discarded. Choose an opaque part of the image.