Guide

THE TOOLBOX / MEDIA & DESIGN UTILITIES

Pick exact colors,
from any image.

Sample pixel-perfect HEX, RGB, HSL, and CMYK codes from any local PNG, JPG, or WebP—plus automatic 6-color palette extraction and WCAG text contrast checks.

Image Eyedropper

Drop a PNG, JPEG, or WebP image (or paste Ctrl+V)

Reads pixel colors 100% locally in your browser. Up to 10 MiB / 20 megapixels.

Drop an image, paste from clipboard, or load the sample canvas.

Color Codes & Contrast

Open an image or click Load Sample, then click any pixel to copy HEX, RGB, HSL, and CMYK values.

COLOR FORMATS AT A GLANCE

When to use HEX, RGB, HSL, or CMYK color codes.

FormatExampleBest Used For
HEX#2563EBCSS stylesheets, Figma/Sketch tokens, and web brand guides
RGBrgb(37, 99, 235)Canvas/WebGL code, digital displays, and RGBA opacity
HSLhsl(221, 83%, 53%)Adjusting lightness and saturation for hover/dark-mode states
CMYKcmyk(84%, 58%, 0%, 8%)Print brochures, packaging, and business cards

1. Instant Screenshot Paste

Copy any design mockup or webpage screenshot to your clipboard and press Ctrl+V (or Cmd+V) directly on this page to start sampling pixels immediately.

2. One-Click CSS Palette Export

Grab the top 6 dominant tones from any photo or brand banner and export them as ready-to-paste :root CSS custom properties.

3. Built-In WCAG Readability Check

Verify at a glance whether white or black text meets the WCAG AA 4.5:1 contrast threshold on top of your sampled background color.

Frequently Asked Questions

How do I get the exact HEX code from an image?

Drop, select, or paste (Ctrl+V / Cmd+V) any PNG, JPEG, or WebP image into the canvas and click the exact pixel you want to sample. Its HEX, RGB, HSL, CMYK, and CSS sRGB codes appear immediately with one-click copy buttons.

Does this image color picker extract a full color palette automatically?

Yes. As soon as your image loads, it analyzes the pixels locally to extract the top 6 dominant colors—and lets you copy the entire palette as CSS :root variables in one click.

Are my photos or brand mockups uploaded to a server?

No. Every pixel read and palette extraction runs 100% inside your browser using HTML5 Canvas. Zero images leave your device.

Can I pick a pixel using exact X and Y coordinates or a keyboard?

Yes. Enter integer X and Y pixel coordinates below the canvas and click Sample Pixel for pinpoint accuracy without a mouse.

How does the WCAG contrast check work?

Every sampled color automatically displays its WCAG 2.1 contrast ratio against pure white (#FFFFFF) and pure black (#000000) so you know immediately which text color is readable (4.5:1 or higher for AA).

Which image formats and sizes are supported?

PNG, JPEG, and WebP images up to 10 MiB and 20 megapixels are supported directly in modern desktop and mobile browsers.

Does HEX include alpha transparency?

Standard 6-digit HEX encodes Red, Green, and Blue channels. Transparency is reported separately as an exact Alpha percentage alongside the color swatch.