UtilityPilot.Find a tool

Images

Image Color Picker

Pick a color from a precise image pixel, or average a small square area. Copy its HEX, RGB and HSL values for your next design task.

Processed in your browserPrivacy details ↗

Static JPEG, PNG or WebP · 10 MiB · 16 megapixels

Adjust your options

No sign-up. No upload.

How to use this tool

  1. Choose a supported image.
  2. Click or tap a pixel, or enter X and Y coordinates. Choose a sample size for an average.
  3. Sample the color, then copy its values or check contrast with a proposed background.

Pixel and square sampling

X and Y start at zero in the top-left corner of the decoded image (orientation applied). Click or tap the preview, or enter coordinates. Square sample extends right and down from that coordinate; channels are arithmetically averaged across the selected pixels, including alpha. Values represent the browser’s decoded sRGB image.

Single-pixel sampling is best for flat UI colours. Square averaging reduces noise on photographic or anti-aliased areas. Neither mode guesses a palette or dominant colours—it samples only what you select.

Sampling example

Coordinate (12, 40) on a solid red region

HEX #ff0000
RGB rgb(255 0 0)
HSL hsl(0 100% 50%)

Copy the notation you need. To translate between notations further, use Color Converter. To check a text colour against a background, open Contrast Checker with the sampled HEX.

Accuracy and colour profiles

A sampled pixel is not necessarily a brand’s official colour. Anti-aliased edges, JPEG artifacts, display profiles and partial transparency all shift values. Transparent pixels need a background before contrast testing. The tool does not manage ICC profiles or convert between display gamuts.

For brand colours, prefer the official HEX/CMYK from the design system; use sampling when you only have a raster screenshot.

From pixel to design token

Workflow: open image → sample (pixel or square) → copy HEX → convert notation if needed → check contrast for actual text size/weight → record the value in your design tokens. Keep the source image if you will sample again after edits.

Pixel sample or square average

Single-pixel sampling is best for flat interface colours, icons and solid backgrounds. Square averaging is better for photographs, gradients and anti-aliased text, where one pixel may sit on a transition edge. The square extends right and down from the chosen coordinate, so an edge sample can include pixels outside the visible subject.

Alpha is included in the average. A transparent screenshot region can therefore produce a colour that looks different from the composited page. If the image will be placed on a known background, composite it first or sample an opaque area.

Why a sampled colour may not match the brand

A raster image has already passed through encoding, resizing, colour management and possibly a screenshot pipeline. JPEG compression shifts edge pixels; anti-aliasing blends text into the background; a display profile may map the same values differently. Sampling cannot recover an official brand value from a lossy copy.

Use the design system HEX or CMYK value when it is available. Sample when you only have a screenshot or a photograph, and record the coordinates and sample size so the result can be reproduced. For contrast work, feed the sampled value into Color Contrast Checker only after deciding the actual text and background colours.

Processing and privacy

Image Color Picker samples the decoded image in the page; the image and sampled colours are not sent anywhere. Input stays in browser memory until you reset or leave the page. Copy and download run only when you choose them. No tool input is sent to a processing service. Website pages and scripts still make ordinary hosting requests; the privacy policy separates those from tool processing.

Frequently asked questions

Is this a palette generator?

No. It samples the coordinate or square you select rather than guessing dominant colours.

Why does the HEX differ from the official brand colour?

Anti-aliasing, compression, display profile and transparency all affect a sampled pixel. Use official brand values when available.

Can I sample a transparent pixel?

Yes, but the value includes alpha. Composite against a real background before contrast checking.

Does it support wide-gamut displays?

Sampling reports decoded sRGB values. Wide-gamut colour management is outside this tool.

Is the image uploaded?

No. Decoding and sampling happen in the browser.

Does square sampling find the dominant colour?

No. It calculates an arithmetic average of the selected pixels, including alpha. Dominant-colour or palette extraction is a different operation.

Why is the sampled HEX different from my design app?

Compression, anti-aliasing, colour profiles and different coordinates can all shift the value. Compare the exact pixel rather than a nearby edge.

How this tool was checked

Image Color Picker was checked with transparent pixels, anti-aliased edges, JPEG chroma noise, square averaging at the image boundary and the decoded sRGB values actually selected. See the testing method or report a failure.