Pick colours from any image
Click a pixel, copy HEX/RGB/HSL, grab a palette.
Files never leave your device · free · no signup
Drop images here
or browse, or paste with ⌘V
Files never leave your device
How it works
- 1
Load an image
Large photos are sampled at full resolution; the preview is only scaled visually.
- 2
Click a pixel
The swatch updates instantly. Arrow keys move one pixel at a time.
- 3
Copy the value
Hex for CSS, RGB for canvas APIs, HSL for design tools.
What this tool does
- Click-to-sample at the full resolution of the source image
- HEX, RGB, HSL and CSS variable output with one-click copy
- Eight-colour dominant palette via bucketed quantisation
- Keyboard nudge mode for picking a pixel precisely
Frequently asked questions
Are the colours affected by my monitor profile?
Values come from the decoded image bytes, so they are exact sRGB numbers. Your screen may render them slightly differently, but the hex code is what the file contains.
Why is the picked colour slightly off near edges?
Anti-aliased edges are blends of two colours. Pick a few pixels inside the shape, or use the arrow keys to step off the boundary.
How is the palette calculated?
Pixels are bucketed into a coarse RGB grid, the most frequent buckets are kept, and each bucket is averaged. It is fast and deterministic rather than a slow clustering pass.
Related tools
Privacy note
Everything happens in your browser: the file is read, edited and saved on your device, with no upload.