Image Color Picker
Pick colours from any point in an image and get HEX, RGB and HSL values, plus an automatically extracted dominant palette.
Loading tool…
The image is drawn to a canvas in your browser and read back locally. It is not uploaded.
What the Image Color Picker does
The image color picker on this page will pick colours from any point in an image and get HEX, RGB and HSL values, plus an automatically extracted dominant palette. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for pulling a brand colour out of a logo or screenshot. Companion tools to this one live on FreeToolsWorld.org.
How to use it
- Choose an image.
- Click anywhere on it to sample that pixel.
- The HEX, RGB and HSL values appear with a swatch.
- The dominant palette is extracted automatically below.
How it works
Sampling reads the pixel directly from the canvas, so the value is exactly what is in the image data at that point. Clicking on a photograph often returns a surprising value, because what looks like a flat colour is usually made of many slightly different pixels — JPEG compression alone introduces variation across a region that was uniform in the original.
The palette is extracted by quantising colours into buckets and counting which are most common, which is a simple and fast approach rather than a perceptual clustering algorithm. It gives a good sense of an image's dominant colours and is not a substitute for a designer's eye.
One limitation worth stating: an image from another domain can taint the canvas under the browser's security rules, which blocks reading pixels back. Because files here are loaded from your own device rather than fetched over the network, that does not arise.
When to use it
- Pulling a brand colour out of a logo or screenshot.
- Building a palette from a photograph.
- Matching a design element to a colour in a reference image.
Common mistakes to avoid
- Sampling a single pixel from a compressed photo and treating it as the exact colour.
- Picking a colour for text without then checking its contrast against the background.
Frequently asked questions
Why does the colour differ slightly from what I expected?
Lossy compression alters individual pixels, so a region that was one flat colour in the original contains many near-identical values. Sample a few points and take the one that recurs.
How is the palette chosen?
Colours are grouped into buckets and ranked by how many pixels fall into each. It is a frequency count rather than a perceptual clustering, so it favours large areas over small vivid ones.