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).
Click to pick (on touch screens, drag and lift). Arrow keys move one pixel, Shift+arrow 10, Enter picks.
Under the cursor
Picked colours
Click the image to save colours here.
Dominant colours
Most common first. The same image always gives the same palette.
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.
Was this tool useful?
Thanks for your feedback!
Could not send your feedback. Please try again later.
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.
Related Tools
All Image Tools →Image Format Converter
Convert images between PNG, JPG, WebP, GIF, BMP, TIFF, ICO,...
HEIC to JPG Converter
Convert iPhone HEIC and HEIF photos to JPG, PNG or WebP onli...
File Converters
One page for every popular conversion: PNG to JPG, WebP to J...
Redact PDF
Black out names, emails, phone and card numbers, IBANs and I...
PDF Form Filler
Upload and fill interactive PDF form fields directly in your...
Organize PDF Pages
Reorder, rotate, duplicate and delete PDF pages or insert bl...