DoneInTab

Image Color Picker Online

Upload any picture to pick exact HEX, RGB, and HSL colors directly from pixels. Use the live magnifier loupe for micro-precision, sample 3×3 or 5×5 averages, and export palettes with 100% private in-browser processing.

Select or drop an image to pick colors

Inspect pixel values, live loupe magnifier, and copy HEX / RGB / HSL. 100% in-browser.

How to Pick Colors from an Image

  1. Select or Drop an Image: Upload any PNG, JPG, or WebP picture. The image is decoded locally in browser memory.
  2. Hover & Inspect with Loupe: Move your mouse or drag across the image. The live 11×11 loupe magnifies the area around your cursor, showing exact pixel coordinates.
  3. Click to Select: Click or tap on any pixel to lock its color values into your active swatch and recent history. Use keyboard arrow keys to nudge coordinates with 1px precision.
  4. Copy Formats: Click "Copy" next to HEX, RGB, or HSL to copy values to your clipboard, or copy all recent swatches as a CSS variables block.

Color Sampling Accuracy & Technical Disclosures

Coordinate & Aspect Ratio Mapping: When images are responsive, browsers apply CSS letterboxing (`object-fit: contain`). Our coordinate mapper recalculates the true aspect-ratio offsets, ensuring that clicking on screen matches the exact integer pixel in your source photo without offset drift.

Straight Alpha vs. Compositing: When sampling transparent or semi-transparent PNG images, values reflect straight alpha readings from the underlying image stream. The transparency checkerboard provides visual orientation without altering color channel values.

Monitor Color Profiles: Color extraction uses standard sRGB canvas data. While pixel values are mathematically exact to the image file, appearance may vary subtly across monitors with wide P3 or HDR color management profiles.

Frequently Asked Questions

How does the Image Color Picker extract exact colors?

Our tool renders your uploaded picture into a sandboxed, client-side HTML5 Canvas element. When you move your mouse or tap your screen, it maps your display coordinates directly to original image pixel coordinates and reads raw RGBA values via the Canvas ImageData API.

How does the live magnifier loupe work?

The 11×11 pixel loupe isolates an 11-pixel square neighborhood centered on your cursor and enlarges it with crisp nearest-neighbor interpolation. This allows you to inspect micro-details, edges, and sub-pixel color transitions with exact pixel accuracy.

Are my images or photos uploaded to any server?

Never. All image decoding, canvas rendering, pixel reading, and palette extractions take place entirely inside your device's memory. No image bytes or colors leave your browser.

How are transparent pixels handled?

If you upload a transparent PNG or WebP image, the tool inspects the alpha channel. Fully or partially transparent pixels display their exact alpha percentage, RGBA values, and 8-digit HEX code (#RRGGBBAA) alongside a visual transparency checkerboard.

Related Image & Document Utilities