Hover to zoom in. Click any pixel to sample its color โ HEX, RGB, HSL, and OKLCH. Builds a reusable palette.
The Color Picker from Image tool lets you upload any photo, illustration, or screenshot and then hover over it to see a magnified zoom lens around your cursor. When you click a pixel, it samples the exact color at full original resolution and instantly displays it in HEX, RGB, HSL, and OKLCH formats โ all four at once. Every clicked color is automatically saved to a growing palette below the canvas.
All processing happens locally in your browser using the HTML Canvas API โ no image is ever uploaded to a server. You can export your collected palette as CSS custom properties (CSS variables) with a single click, making it easy to drop colors straight into your stylesheet.
The tool reads raw pixel values from the image data, not from what your monitor renders. Display color profiles, browser color management, and monitor calibration can make colors appear slightly different visually. For pixel-perfect accuracy, make sure your image uses sRGB color space, which is the web standard.
OKLCH (Lightness, Chroma, Hue) is a modern perceptually uniform color space supported in CSS Color Level 4. Unlike HEX or RGB, equal numeric steps in OKLCH correspond to equal perceived brightness changes, making it ideal for generating accessible color scales. Modern browsers support oklch() natively in CSS.
Yes โ double-click any color swatch in the palette grid to remove it. Single-clicking a swatch copies its HEX value to the clipboard. You can also clear the entire palette at once using the "Clear" button in the palette panel header.