About the Image Color Picker tool
Found a colour you love in a photo, a screenshot of a website or a brand logo, and need its exact code? This image colour picker lets you upload any picture and click on it to read the precise colour of that pixel. A round magnifier loupe follows your cursor or finger and zooms in on the pixels around it, so you can hit a thin line or a single dot accurately instead of guessing.
Every picked colour is shown as HEX, RGB and HSL, each with its own copy button, ready to paste into CSS, Figma, Canva, PowerPoint or any design app. Your recent picks are kept as swatches so you can compare and go back to them. Below the image, the tool also works out the dominant colour palette automatically, grouping the image’s pixels with k-means clustering into six to eight representative colours and showing how much of the picture each one covers.
The image is drawn to a canvas inside your browser and read there. It is never uploaded, so you can safely use screenshots of unreleased designs or client work.
How to use Image Color Picker
- Drop an image (PNG, JPG, WebP, GIF or SVG) into the upload box, or click to choose one.
- Move your mouse over the image, or touch and drag on a phone, and use the loupe to line up the exact pixel.
- Click or tap to pick the colour. Its HEX, RGB and HSL values appear beside the image.
- Click the copy icon next to any value to copy it, or click a recent swatch to show it again.
- Scroll to “Dominant colour palette”, choose 6, 7 or 8 colours, and click a swatch or “Copy all” to copy the HEX codes.
Features
Pixel-accurate magnifier
A zoomed loupe shows the pixels under your pointer, with the target pixel outlined.
HEX, RGB and HSL
Every colour is shown in the three most common formats with one-click copy.
Automatic palette
k-means clustering finds the 6–8 dominant colours and shows their share of the image.
Pick history
Your last 12 picks are kept as swatches for quick comparison.
Works on phones
Touch and drag to aim, then lift your finger to pick.
Private
The image is analysed locally in your browser and never uploaded.
When to use it
- Find the exact shade of a fabric, paint or product from a photo before ordering a matching item.
- Match your website or slide colours to a brand logo you only have as an image.
- Get the exact HEX code of a colour from a screenshot of another app or site.
- Build a colour palette for a design from a favourite photograph.
- Check whether printed or exported artwork uses the right brand colour.
Frequently asked questions
Can I copy the whole palette at once?
Yes. Click “Copy all” next to the palette to copy every HEX code as a comma-separated list, or click a single swatch to copy just that colour.
How do I find the HEX code of a colour in an image?
Upload the image, hover over the colour and click it. The HEX code appears with a copy button, along with RGB and HSL.
How accurate is the colour picker?
It reads the exact pixel value from the image as your browser decoded it. JPG compression and gradients mean neighbouring pixels can differ slightly, so use the loupe to choose carefully.
How is the dominant colour palette calculated?
The image is scaled down, transparent pixels are ignored, and the remaining pixels are grouped into 6–8 clusters with the k-means algorithm. Each swatch is the average colour of its cluster.
Can I use it on my phone?
Yes. Touch the image and drag to move the loupe, then lift your finger to pick the colour under it.
Is my image uploaded?
No. The image is drawn onto a canvas in your browser and all colour reading happens on your device.