# Image Color Picker

> Pick any pixel color from an image with a zoom loupe, get HEX, RGB and HSL values, and extract a 2 to 8 color dominant palette. Images stay on your device.

- URL: https://www.tooljig.com/image-color-picker
- Category: [Converters](https://www.tooljig.com/category/converters.md)
- Runs: In the browser; nothing uploaded
- Price: free, no account needed

## What it does

Open an image, move over it to see the exact colour under the pointer in a magnified loupe, and click to add it to your list. Each colour is shown as HEX, RGB and HSL with copy buttons. The tool also extracts a dominant palette of 2 to 8 colours with the median-cut algorithm, and both lists can be copied as HEX values or CSS custom properties. The image is drawn on a canvas in your browser and is never uploaded.

## How to use it

1. Choose or drop an image.
2. Move over it (or use the arrow keys) and click or press Enter to pick a colour.
3. Copy single values, your picked list or the palette as HEX or CSS variables.

## Good to know

- Images larger than 4096 px on their longest side are scaled down to that size before picking, so a single pixel can be a blend of neighbours on very large photos.
- The palette is computed on a copy scaled to at most 100 × 100 pixels and ignores mostly transparent pixels. Each colour is the average of a group of similar pixels, so it may not match any single pixel exactly.
- Colours are read in the browser's sRGB canvas, so images with wide-gamut or embedded colour profiles can give slightly different values than a design app.

## FAQ

### How is the dominant palette chosen?

Median cut: the sampled pixels are repeatedly split along their widest colour channel until there are as many groups as colours requested; each group's average becomes a palette colour, ordered by how many pixels it covers.

### Can I use it without a mouse?

Yes. Focus the image with Tab, move the cursor with the arrow keys (Shift for 10 pixels) and press Enter to pick.

### Is my image uploaded?

No. It is decoded and read on a canvas in your browser.

## Related tools

- [Color Converter](https://www.tooljig.com/color-converter.md): Convert colors between HEX, RGB and HSL with a live preview and a native color picker. Copy CSS-ready values.
- [Color Contrast Checker](https://www.tooljig.com/color-contrast-checker.md): Check the WCAG 2 contrast ratio between text and background colors, see AA and AAA pass or fail, and get the nearest text color that passes AA.
- [CSS Gradient Generator](https://www.tooljig.com/css-gradient-generator.md): Build linear, radial and conic CSS gradients with up to six color stops, preview them live and copy the background CSS with an optional fallback.
