Image Color Picker

Upload any image and click any pixel to extract its exact color code. 100% private -- nothing uploaded.

Your image is never uploaded to any server. Color extraction happens entirely in your browser using the Canvas API.
🖼️
Drop your image here or click to upload
JPG, PNG, WebP, GIF supported
Who this tool is for:

Best for: Pulling the exact hex from a logo you were sent as a PNG, and extracting a palette from a product photo for matching graphics

Limitations: Runs on the image in your browser with nothing uploaded, and it samples pixel colours rather than reading embedded colour profiles

Best suited for: Marketers who receive brand assets as images and never get the actual hex codes

How the Picker Samples Colors

Drop or choose a JPG, PNG, WebP or GIF. The page draws it on a canvas in your browser; images wider than 800 px are scaled to 800 px wide first. A click reads the pixel under the pointer with getImageData and shows its HEX, RGB and HSL values, with no averaging, and the last 8 picks stay under Recently Picked. A click on the very edge reads the outermost pixel of the image, never a point outside it. To pick from a different image, press Load another image under the canvas; the page does not need a reload.

Dominant Colors is coarser. It reads every 10th pixel (the loop steps 40 bytes, four per pixel), skips pixels with alpha below 128, rounds each channel to the nearest multiple of 32 (256 shows as FF) and lists the 5 most frequent results. So it reports #8040E0 for a circle that is really #7C3AED.

Recovering a Logo, Step by Step

Test logo: a purple circle #7C3AED, the word ACME in dark navy #1E1B4B and an amber bar #F59E0B on white.
A test logo drawn by script with known colors; it is not a real company's logo. The results below were rendered in Chromium 148 with this page's own code, not a test with people.
  1. The logo was saved as a 600 px PNG, as JPEG at quality 0.9 and 0.6, and as a 1600 px PNG.
  2. Each file was loaded into this page and clicked at the circle center, just inside the circle's edge, and the bar center.
  3. Both PNGs gave the exact colors at every point; the 1600 px file was scaled to 800 px first.
  4. The JPEGs moved the center by one or two levels per channel, and the edge pixel much further.
FileBytesCircle centerInside edgeBar center
PNG, 600 px14,847#7C3AED#7C3AED#F59E0B
JPEG, quality 0.912,131#7B3AEC#7344C6#F49E0B
JPEG, quality 0.67,677#7C3BEF#7144BD#F39E0D
PNG, 1600 px59,512#7C3AED#7C3AED#F59E0B

Every file's dominant list began #FFFFFF #8040E0 #FFA000 #202040, rounded versions of the four real colors; only the fifth entry changed. For exact values, use a PNG and click well inside a flat area. Details: How We Test.

Frequently Asked Questions

Load the image and click a pixel. The tool reads that one pixel with getImageData and shows its HEX, RGB and HSL values, each with a copy button. Images wider than 800 px are scaled to 800 px first, so you pick from the scaled copy.
Usually the file format. With the computed test logo, PNG returned #7C3AED exactly, while JPEG at quality 0.6 gave #7C3BEF at the circle center and #7144BD just inside the edge. Click the middle of a flat area, or ask for a PNG.
Here it is one of the 5 most frequent colors after rounding. The tool samples every 10th pixel, skips mostly transparent ones, rounds each channel to a multiple of 32 and counts. That is why the test logo's #7C3AED is listed as #8040E0. Click the image for exact values.
Yes. A screenshot is an ordinary image file, and the picker accepts JPG, PNG, WebP and GIF. It reads the pixels as the browser decodes them, so a JPEG screenshot may already differ from the colors on screen.
No. The page reads the file with FileReader, draws it on a canvas and reads pixels from that canvas, all in your browser. The image code has no step that sends the file anywhere.
Related Tools

Get fresh reads straight to your inbox

Get notified when we publish new articles. Unsubscribe anytime.