Image Color Picker
Click any pixel in a photo to read its HEX, RGB and HSL colour, extract the 8-colour palette, and export it as CSS variables β free, in-browser.
Loading tool controlsβ¦
Verify it yourself: press F12, open the Network tab, and use this tool β your files are never uploaded.
Image Color Picker at a glance
- Price
- Free
- Account
- Not required
- File uploads
- None β your files are never uploaded
- Category
- Image Tools
Who uses Image Tools?
Photographers, designers and online sellers who need to compress, resize or convert images without uploading them.
How to Use Image Color Picker
Follow these simple steps to get instant results in your browser.
Upload a Photo
Drop a JPG, PNG or WebP image. Its 8-colour palette is extracted automatically.
Click Any Pixel
Click the photo to sample that exact pixel β HEX, RGB and HSL appear with copy buttons.
Copy or Export
Click any palette swatch to copy its HEX, or copy/download the whole palette as a :root CSS variables block.
What is Image Color Picker & How Does It Work?
The Image Color Picker reads the exact colour of any pixel in a photo: click the image and it shows the HEX, RGB and HSL values, with one-click copy buttons. It also extracts the photo's 8-colour palette and exports it as CSS variables.
Sampling reads the decoded pixel straight from the canvas, so the value is the colour as the browser sees it. The palette groups similar colours and picks the eight most common distinct ones β the colours that actually dominate the photo. Click any swatch to copy its HEX.
One honest caveat: JPEG compression shifts colours by 1β2 units per channel, so a sampled value can differ slightly from the colour in the original design file. Sample a PNG export for exact brand colours.
Key Features & Capabilities
Click-to-Sample
Reads the exact pixel you click β HEX, RGB and HSL, with one-click copy for each.
8-Colour Palette
The dominant colours of the photo, extracted by quantisation and diverse selection.
CSS Variables Export
A :root block with --color-1 to --color-8, ready to paste into a stylesheet, plus a palette.css download.
Click Any Swatch to Copy
Every palette swatch copies its HEX value to the clipboard.
Pro Tips
- β’Bookmark this tool for instant one-click access anytime.
- β’Drag and drop files directly onto the input surface for fastest handling.
- β’All processing happens in your browser session for maximum speed and data safety.
π― Common Use Cases
Image Color Picker - RGB to HSL
HSL describes a colour as hue (0β360Β° around the colour wheel), saturation (0β100%) and lightness (0β100%). The picker converts the sampled RGB pixel to HSL so designers can use whichever form their stylesheet needs.
Worked Example
- 1Sampled pixel: rgb(255, 0, 0)
- 2HEX #FF0000, HSL hsl(0Β°, 100%, 50%)
- 3Sampled pixel: rgb(37, 99, 235) β #2563EB, hsl(221Β°, 83%, 53%)
Sources & Further Reading
- HSL and HSV β Wikipedia
- Canvas API β MDN
Frequently Asked Questions about Image Color Picker
Frequently asked questions
More Image Tools
Complementary utilities for your workflow
Image Color Picker
Pick HEX, RGB & HSL colours from any photo.