Turn a photo into a palette with CSS, Tailwind and JSON code
Image Color Picker
Click anywhere on a picture to read its exact colour code, and see which colours dominate it.
Loading tool…
How to use image color picker
Drop an image, or paste a screenshot from the clipboard.
Move the pointer over the image to preview the colour under it.
Click to save a pick; your last twelve picks stay in the list.
Copy the HEX, RGB or HSL value you need, or copy every dominant colour at once.
What this tool does
- Reads the exact pixel value, or a 3 x 3 or 5 x 5 average to smooth out photo noise.
- Shows HEX, RGB and HSL for every pick with one-click copy.
- Finds the six dominant colours and the share of the image each one covers.
- Works with screenshots pasted straight from the clipboard.
How the result is verified
Values come straight from the decoded pixels. Check any pick by pasting the HEX code into a design tool and comparing it with the same spot.
Frequently asked questions
Why is the colour of a single pixel different from what I see?
Photos and compressed images have noise, so neighbouring pixels vary. Switch the sample to a 3 x 3 or 5 x 5 average to get the colour your eye sees.
How are the dominant colours worked out?
The image is scaled down and its pixels are grouped into six clusters of similar colour. Each swatch is the average of a cluster, and the percentage is how many pixels fell into it.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Width, height, aspect ratio, DPI and megapixels
Inspect EXIF, GPS, and device fields grouped by risk, then export a stripped copy that is rescanned to prove it.
Adjust colours, apply looks, add text and draw on photos