PixKit

Home / All Tools /Utility

Image Color Picker

Click or drag on an image to sample colors, or paste a screenshot with Ctrl+V; copy HEX, RGB, HSL, HSV, CMYK, OKLCH and more.

✓ Local processing · No uploads · No signup

Drop an image, or click to browse

Drag, click to browse, or paste a screenshot with Ctrl+V; then click or drag to sample

—

Position: —

HEX
—
HEX8
—
RGB
—
RGBA
—
HSL
—
HSV
—
CMYK
—approx.
OKLCH
—

Real-world uses

  • Reproduce a brand colour from a logo PNG in CSS: click the swatch to read an uppercase HEX such as #0EA5E9, copy RGB for an rgba() rule, or copy OKLCH for modern CSS. All eight values come from the same pixel.
  • Check an export for a colour cast: sample what should be pure white. Anything other than #FFFFFF, such as a bluish HEX, means a background or filter was baked in. The status line also shows pixel coordinates to locate the spot in the source.

Limits: Sampling reads canvas pixels rather than the scaled display, but sources beyond 8192px on one edge or 16.7MP are downscaled first, so you read the reduced pixel. HEX8 and RGBA include the sampled alpha while the other six formats carry no transparency. CMYK is converted from RGB without a device ICC profile, so treat it as a reference only.

Related tools:Extract a full palette insteadSample anywhere on screen

How it works

  1. Drop a file, browse, or paste a screenshot with Ctrl+V; the canvas loads up to the drawable limit
  2. Click or drag on the image; the swatch, all eight formats and pixel coordinates update together
  3. Copy each format from its own button; HEX is uppercase, HEX8/RGBA include alpha and CMYK is approximate

FAQ

Does image scaling affect sampling?

Display scaling does not skew it: cursor coordinates are mapped back to canvas pixels, so you read the actual canvas colour. Sources beyond 8192px or 16.7MP are downscaled first, though, so crop the region before sampling if you need an exact pixel.

What colour does a transparent area return?

The coordinates line shows all four RGBA channels with alpha to two decimals. HEX8 and RGBA include the sampled alpha while the other six formats carry no transparency. The RGB of a transparent pixel is not meaningful, so do not treat it as a usable colour.

Can it average several points?

No. Each read is a single 1x1 pixel; dragging updates continuously but never averages a region. Use the Palette Extractor for an overall colour distribution.

How accurate are the CMYK and OKLCH values?

CMYK is converted from sRGB by a standard formula without a device ICC profile, so treat it as an approximation and rely on a print proof for production. OKLCH is converted precisely from sRGB and follows CSS Color 4, so the copied value works directly in modern browsers and design systems such as Tailwind 4.

Can I paste a screenshot instead of saving it first?

Yes. Take the screenshot, come back to this page and press Ctrl+V (⌘+V on macOS); the image in your clipboard loads straight into the canvas, one step faster than saving a file. Drag and drop and the file picker still work, and pasting plain text does nothing.

Related tools