Image Tools

Image Color Picker & Palette Extractor

Open or paste an image, pick any pixel with a magnifier, and extract its dominant colours as CSS variables, Tailwind or JSON.

Private by design: anything you enter is processed in your browser only. It is never uploaded to or logged on our servers. Your image is read on your device and is never uploaded.

Drop an image here, or choose a file

PNG, JPG, WebP, GIF, SVG, AVIF or BMP, up to 50 MB. You can also paste a screenshot (Ctrl+V).

About the image colour picker

Load a screenshot, logo or photo and move over it: the loupe magnifies the pixels under the cursor so you can hit the exact one you want. Click to save the colour to your list and copy it as HEX, RGB or HSL. The nearest CSS colour name is shown too, measured by how similar colours look (CIE Lab distance), not by raw numbers.

The palette is built with median cut: the image is shrunk to at most 128 pixels on its longest side, transparent pixels are ignored, and the colour space is split into boxes until there are as many colours as you asked for. Each swatch shows how much of the image it covers. Export the result as CSS custom properties, a Tailwind v4 @theme block, a Tailwind v3 tailwind.config.js, or JSON.

Photos contain subtle noise, so neighbouring pixels can differ slightly. Use the loupe to check, or pick a few and compare. Colours are read in the browser's sRGB space. "Convert" opens a colour in the Color Converter (CMYK, HSV and contrast); to build harmonies from a colour, use the Color Palette Generator.

Frequently Asked Questions

No. The image is drawn into a canvas in your browser and every colour is read there. Nothing is sent to a server.

The image is reduced to at most 128 pixels on its longest side and split with the median cut algorithm into the number of colours you choose. Transparent pixels are ignored, and each swatch shows how much of the image it covers.

JPEG compression and photo noise change neighbouring pixels a little, and wide-gamut images are shown in sRGB. Use the loupe to pick the exact pixel, or pick a few and compare.

Yes. Export it as a Tailwind v4 @theme block or a v3 tailwind.config.js. Both give classes such as bg-brand-1 and text-brand-2, with the most common colour first.