← Home / Colors / Image Color Picker (Pixel EyeDropper)
100% Client-Side In-Browser Processing (Your images are never sent to any server)

Image Color Picker (EyeDropper & Palette Extractor)

Upload, drag & drop, or paste an image (Ctrl+V) to sample exact pixel colors with real-time magnifying loupe.

740 × 420 px
Presets:
💡 Tip: Click or tap to pick a color. Hover to inspect with the magnifying loupe. Supports PNG, JPG, WEBP, SVG, GIF, AVIF and Ctrl+V

Purple / Indigo

Inspected pixel from image

HEX
RGB
HSL
CMYK
CSS
White Text 4.8:1 AA Pass
Black Text 5.2:1 AA Pass

Dominant Palette

Top 8 Colors

Most frequent color tones detected in image:

Captured Palette History

0
Hover or tap on the image to pick pixel colors.
#6366F1 X: 140 Y: 160

How Pixel-Exact Image Color Picking Works (Online EyeDropper)

In digital product design, frontend web development, and digital graphics, identifying the exact chromatic value of visual elements from screenshots, Figma mockups, logos, or photos is an everyday requirement. Caixa do Dev's Image Color Picker pairs the precision of the HTML5 Canvas API with the modern W3C EyeDropper API to allow instantaneous color sampling with a real-time magnifying loupe.

1. 100% Client-Side Architecture & Zero Cloud Uploads

Unlike traditional online color pickers that upload your personal pictures or mockups to remote backend servers for processing, our tool executes the entire decoding and pixel extraction pipeline directly within your browser's memory using FileReader and CanvasRenderingContext2D.getImageData():

2. How the Pixel Magnifier Loupe Works

On high-density displays (such as Retina, 4K, or OLED screens), inspecting a fine 1px line, border, or text edge with a regular mouse cursor can be tricky. To solve this, our magnifying loupe provides:

  1. Neighborhood Sampling (11×11 pixels): The algorithm reads the square pixel matrix centered at your cursor coordinates.
  2. Nearest-Neighbor Rendering (No Blur): Pixels are rendered on the loupe with image-rendering: pixelated, avoiding artificial anti-aliasing or smoothing that alters the original color code.
  3. Dual-Contrast Reticle: The center targeted pixel is highlighted with a dual-layer black-and-white border, ensuring high visibility over both light and dark backgrounds.

3. Dominant Color Palette Extraction via Quantization

In addition to picking individual pixel points, this tool analyzes the entire graphic using spatial color quantization. The algorithm groups millions of raw pixels into chromatic clusters to identify the top 8 dominant colors and estimates their visual occupancy percentage, allowing designers and developers to construct balanced design tokens and theme palettes in seconds.

4. Color Spaces & Formats Comparison

Format Example Primary Use Case
HEX #6366F1 CSS tokens, Figma styles, Tailwind CSS configs, and web UI.
RGB / RGBA rgb(99, 102, 241) Additive digital displays, canvas drawing, and opacity with alpha channel.
HSL hsl(239, 84%, 67%) Dynamic theme generation, lightness adjustments, and Dark Mode switching.
CMYK cmyk(59%, 58%, 0%, 5%) Subtractive color printing (Cyan, Magenta, Yellow, Key/Black).

Frequently Asked Questions (FAQ)

Can I paste a screenshot directly from my clipboard (Ctrl + V)?+
Yes! Simply take a screenshot (PrintScreen, Win + Shift + S on Windows, or Cmd + Shift + 4 on Mac) and press Ctrl + V anywhere on the webpage. The image will instantly render onto the canvas.
What is the "Screen EyeDropper" button?+
This button activates the native EyeDropper API available on modern Chromium-based browsers (Google Chrome, Microsoft Edge, Opera, Brave). It allows you to move your color picker cursor outside the browser window and sample colors from any application open on your monitor.
Are my uploaded images stored or sent to a server?+
No. Caixa do Dev operates strictly on a 100% Client-Side principle. Not a single byte of your image is ever transmitted to the cloud; all computations occur strictly within your browser's local RAM.
How do I export my picked colors into my project?+
In the "Captured Palette History" section, click "Copy All HEX", "Export :root CSS" (ready to paste into your style.css or design system tokens), or "Export JSON" for automated programmatic integration.