THE AI SERVER Utility Suite
🎨 Sub-Pixel Magnifier • 100% Client-Side

Image Color Picker & Eyedropper Palette Generator

Extract exact HEX, RGB, HSL, HSV, and CMYK color codes from any image or screen with a 10x pixel loupe. Auto-generate dominant 6-color palettes and test WCAG accessibility contrast in real time.

🖼️ Image Workspace

🎨
Drop an image here or paste from clipboard (Ctrl+V)
Supports JPG, PNG, WEBP, SVG • Or test with sample images
Try Sample:
#6366F1
💡 Tip: Hover to magnify pixels. Click to lock color. 0 × 0 px

🎯 Selected Color

Indigo Accent
#6366F1
HEX: #6366F1
RGB: rgb(99, 102, 241)
HSL: hsl(239, 84%, 67%)
HSV: hsv(239, 59%, 95%)
CMYK: cmyk(59%, 58%, 0%, 5%)
WCAG 2.1 Contrast Ratios Accessibility
White Text: 4.8:1
Black Text: 4.3:1
AA Normal Text (≥ 4.5:1): ✓ Pass (White)
AA Large Text (≥ 3.0:1): ✓ Pass
AAA Enhanced (≥ 7.0:1): ✗ Fail

🌈 Auto-Extracted Dominant Color Palette

The top 6 harmonious colors extracted from your image using frequency clustering. Click any swatch to copy.

Advertisement

How to Pick Hex Colors from Images and Generate Harmonious Palettes

Whether you are designing a modern web application, building a design system in Figma or Tailwind CSS, or extracting brand colors from a logo, having a pixel-accurate image color picker is an essential tool in every digital creator's workflow.

Traditional screenshot tools can distort colors due to display profile conversions (such as sRGB vs Display P3) or compression artifacts. Our client-side image eyedropper reads raw canvas bitmaps directly in your browser, guaranteeing 100% color fidelity without transmitting any images over the network.

Comparison of Common Digital Color Models

Color Model Format Representation Primary Use Case How It Works
HEX (Hexadecimal) #6366F1 or #FFF Web development, CSS, SVG, HTML 6-digit base-16 notation representing Red, Green, and Blue intensities from 00 to FF (0 to 255).
RGB (Red, Green, Blue) rgb(99, 102, 241) Monitors, televisions, digital displays Additive color model where Red, Green, and Blue light beams combine to produce over 16.7 million shades.
HSL (Hue, Saturation, Lightness) hsl(239, 84%, 67%) UI design systems, CSS variables Intuitive cylindrical coordinate model where Hue is angle (0–360°), Saturation is purity, and Lightness is luminance.
HSV / HSB (Hue, Saturation, Value) hsv(239, 59%, 95%) Digital painting, Photoshop, Figma Similar to HSL, but Value measures the brightness relative to a pure white light source.
CMYK (Subtractive Print) cmyk(59%, 58%, 0%, 5%) Offset printing, posters, merchandise Subtractive model combining Cyan, Magenta, Yellow, and Key (Black) ink dots on physical paper.

Understanding WCAG 2.1 Color Contrast Ratios

Designing accessible software is no longer optional; it is mandated by global accessibility standards such as ADA, Section 508, and the European Accessibility Act.

The contrast ratio measures the difference in perceived luminance between foreground text and the background color, calculated from 1:1 (no contrast, e.g. white on white) to 21:1 (maximum contrast, black on white).

Our live contrast tester automatically computes relative luminance according to the official W3C formula and informs you whether white or dark text meets compliance on your selected color swatch.

Frequently Asked Questions (FAQs)

Simply drag and drop or paste your image into the tool. Hover over any portion of the image to view the 10x magnified pixel loupe, then click to instantly lock the color and copy the HEX, RGB, HSL, or CMYK code.

The EyeDropper API is a modern browser feature (supported in Google Chrome, Microsoft Edge, and Opera) that allows web applications to sample pixel colors from anywhere on your display, even outside the browser window.

The tool analyzes all pixel RGB values in the image, clusters them into significant color buckets using spatial quantization, filters out near-duplicate shades, and ranks the top 6 most prominent and vibrant colors into a downloadable palette.

The Web Content Accessibility Guidelines (WCAG 2.1) require a minimum contrast ratio of 4.5:1 for normal text (Level AA) and 7:1 for enhanced contrast (Level AAA) against background colors to ensure readability for visually impaired users.

No. All rendering, color sampling, and palette clustering calculations run 100% locally in your web browser using HTML5 Canvas and JavaScript. None of your images are transmitted or stored on any remote server.

✓ Copied to clipboard!