PNG Color Picker — Hex from Any Pixel
Drop a PNG (or JPG / WebP / SVG) and click any pixel to read its hex, RGB, and alpha — the hex is copied to your clipboard instantly. Below the image, the eight most-used colours appear as swatches (click any to copy) — a quick palette from the image. Useful for grabbing a brand colour from a screenshot or sampling tones from a mood-board.
Drop an image here
PNG / JPG / WebP / SVG
Common uses
- Brand-colour audit. Drop a logo or screenshot, click the brand colour, copy the hex into your design system.
- Mood-board palette. Drop a reference image; the top-8 palette gives you the dominant colours immediately.
- Design QA. Compare a rendered screen to your spec — click pixels at the same locations.
- Pre-chroma-key step. Get the exact background hex before running Background remove.
Notes on accuracy
- JPG compression introduces noise. The colour at a single pixel may be ±2 from neighbours. For brand colours, sample several adjacent pixels and use the majority hex.
- The palette is a quick frequency count (4-bit-per-channel quantisation), not a true clustering. Good for "what are the dominant colours" — not a strict k-means palette.
- Display colour profile matters. A sample taken on a wide-gamut screen may not match an sRGB design system. For pro work, sample in the colour space of the target.
FAQ
How do I get the hex code of a colour from a screenshot?
Drop the screenshot here and click the pixel you want — its hex, RGB, and alpha appear instantly, and the dominant-colour palette is listed below. Nothing is uploaded, so it's fine for confidential mockups.
Why is the alpha value 255?
JPG and most opaque PNGs have alpha = 255 (fully opaque). Lower values appear only for partially transparent PNGs.
Can I auto-copy the hex when I click?
Yes — click any pixel (or any palette swatch) and its hex is copied to your clipboard automatically; a confirmation shows below the tool. No extra step.
How do I get a 5-colour palette instead of 8?
The palette is fixed at 8. For finer control, use a dedicated palette extractor or a desktop colour tool.