Sample swatch
A visual preview of the clicked pixel color, shown beside its HEX value.
Manual image eyedropper
Choose an image from your device, click visible pixels on the preview, and collect exact HEX samples without sending the image to a server. Hue Codex keeps recent picks with canvas coordinates, contrast against white, one-click copy buttons, and a copy-ready sampled color list.
Free color utility
Inputs update live, exports are copy-ready, and the color math stays deterministic.
Local image
Images are processed locally in your browser.
How it fits
Hue Codex treats each color as part of a larger workflow: conversion, accessibility, palette roles, CSS syntax, shareable URLs, and production exports.
Color conversion follows CSS Color 4 conventions, including D50 Lab/LCH, D65 OKLab/OKLCH, and WCAG contrast thresholds.
Every result is formatted for clear reading, project notes, documentation, and assistive technology.
Palette URLs can be bookmarked and sent without an account, making color decisions easy to revisit.
Hue Codex Image Eyedropper is a free browser-based tool for sampling HEX colors from a local image. It processes the image in the browser, lets you click pixels on the canvas preview, shows each sampled HEX value with canvas coordinates and contrast on white, and exports a copy-ready list of sampled colors.
The Hue Codex image eyedropper lets you choose an image file from your device and sample colors by clicking the preview canvas. Each click reads the pixel under the pointer and converts that RGB value into a HEX color.
The sampled colors appear as a recent-picks list with a swatch, HEX value, canvas coordinates, contrast against white, and a copy button. The export panel lists sampled HEX values with their x/y positions for notes, palette building, or handoff.
An image eyedropper is a color sampling tool that reads a pixel from an image and returns its color value, commonly as a HEX code for design and web use.
When you choose an image, Hue Codex draws it onto a browser canvas. Clicking inside the displayed image reads one pixel from that canvas and converts the red, green, and blue channel values into a HEX color.
The sample is added to the top of the recent-picks list. The tool keeps the 10 newest samples so you can collect several colors from a logo, screenshot, product photo, or moodboard without losing the immediate context.
| Output | What it means | How to use it |
|---|---|---|
| HEX value | The sampled pixel converted to a web-friendly HEX color. | Copy it into CSS, color roles, palette notes, or another Hue Codex color tool. |
| Canvas coordinates | The x and y position of the click on the preview canvas. | Use it as a reference for where the color was sampled in the displayed preview. |
| Contrast on white | The contrast ratio between the sampled color and pure white. | Use it as a quick readability signal before checking final text/background pairs. |
| Recent samples | The latest sampled colors, capped at 10 picks. | Collect a small set of source colors before copying or refining them. |
The eyedropper displays sampled colors immediately as swatches and stores them in a copy-ready output. Each item can be copied individually, and the full export gives a simple list of HEX values with canvas positions.
A visual preview of the clicked pixel color, shown beside its HEX value.
Copies the individual HEX color so it can be pasted into CSS, design tools, or palette documentation.
Records the x/y position on the preview canvas, which helps trace where a color came from.
Removes the current sample list when you want to start over with the same image or a different reference.
Manual image sampling is useful when a specific pixel matters more than an automatically extracted palette. It gives you control over which part of an image becomes a color reference.
The color you sample depends on the image file, compression, scaling, color profile handling, and the exact pixel you click. Screenshots and photos often contain anti-aliased edges, shadows, reflections, and gradients, so nearby pixels can produce different HEX values.
Coordinates are based on the preview canvas after the image is fit into the tool, not necessarily the original image file dimensions. For final brand or accessibility work, confirm sampled colors against official source files and run contrast checks in the real UI context.
Quick answers
Hue Codex Image Eyedropper is a free browser-based tool that samples HEX colors from a local image by letting you click pixels on a preview canvas.
No. The tool processes the selected image locally in your browser and samples pixels from the canvas preview.
The eyedropper returns sampled colors as HEX values, which are convenient for CSS, color roles, palette notes, and other color tools.
The x and y values are the click coordinates on the preview canvas where the sample was taken. They are useful for reference, but they may not match the original image file coordinates.
Contrast on white gives a quick readability signal for the sampled color against a common light background. Final color pairs should still be checked in their real context.
The tool keeps the 10 most recent samples, with the newest sample shown first.
Yes. Each sampled color includes a copy button for the HEX value, and the export area lists sampled colors with their coordinates.
Images often include gradients, shadows, compression artifacts, anti-aliasing, and texture. Moving even one pixel can change the sampled RGB value and resulting HEX color.