Color Picker from Image
Found a photo whose colours you want to steal for a design? Drop it here: click any pixel to read its exact HEX, RGB, HSL and HSV values, and get the image’s dominant palette extracted for you — ready to copy as CSS variables or send into a QR code or share image. Everything happens in your browser; the image is never uploaded.
Drop an image here or browse files
JPG · PNG · WebP · GIF — processed locally in your browser, never uploaded
No image handy? and click around on it.
Click (or tap) any point of the image to read that exact pixel’s colour.
Extracted palette — dominant colours first
199, 99%, 78%
Upload an image to extract its palette — or edit the HEX, RGB or HSL values to convert between formats.
🔒 Your image is read into this page’s memory only. Nothing is uploaded, stored or sent anywhere — close the tab and it is gone.
How it works
- 1 Add an image
Drop a JPG, PNG, WebP or GIF — or load the sample image to try the tool first.
- 2 Pick a pixel
Click the exact spot you want. The marker shows where you sampled and the values update below.
- 3 Take the palette
The eight dominant colours are extracted with their share of the image — copy them, or download the strip.
- 4 Convert & reuse
Edit any format to convert between HEX, RGB and HSL, then hand the top five colours to the QR or OG tools.
Specifications
| Input | JPG, PNG, WebP or GIF image — or the built-in sample image |
|---|---|
| Picking | Click any pixel for its exact colour; the marker shows where you sampled |
| Palette | Up to 8 dominant colours by median-cut extraction, each with its share of the image |
| Formats shown | HEX, RGB, HSL and HSV for the selected colour, with one-click copy |
| Converter | Edit HEX, RGB or HSL and the other formats are recalculated instantly |
| Exports | HEX list · CSS variables · palette strip PNG at 1200 × 630 · one-click handoff of the top 5 colours to the QR and OG image tools |
| Rendering | Entirely in your browser — the image is never uploaded |
| Cost | Free, unlimited, no watermark, no account |
Good to know
- Flat areas give truer values: JPEG compression blends neighbouring pixels, so sample the middle of a solid region — not an edge, shadow or gradient — when the exact code matters.
- Coverage order is meaningful: the palette is sorted by how much of the image each colour covers, which makes the first two or three swatches a safe background/foreground starting pair.
- Check contrast before using a pair for text: a pretty palette can still fail readability. Body text needs roughly a 4.5:1 contrast ratio against its background (WCAG AA).
- Need colours invented instead of extracted? The Color Palette Generator builds harmonious five-colour sets from harmony rules — this page pulls colours out of a real image, that one creates them from scratch.
Frequently asked questions
How is the palette extracted from my image?
The tool shrinks your image to a small working copy, groups its pixels with a median-cut algorithm and averages each group. The eight biggest groups become the palette, ordered by how much of the image each colour covers — so the first swatch is the colour your photo is mostly made of, not a random accent.
Why does the picked colour differ slightly from what I see on screen?
Usually because the image itself was compressed. A JPEG stores an approximation of the original pixels, and neighbouring pixels blend into each other, so two clicks a few pixels apart can return slightly different values. For brand work, click the middle of a flat area rather than an edge or a gradient.
Can I pick a colour from a transparent PNG?
Yes. Transparent and semi-transparent pixels are skipped during palette extraction, and if you click a fully transparent pixel the tool tells you instead of inventing a colour. The checkerboard behind the preview shows you which parts are transparent.
What is the difference between HSL and HSV?
Both describe the same hue wheel. HSL lightness runs from black (0%) through the pure colour (50%) to white (100%), which makes it handy for building tints and shades in CSS. HSV value is simply how bright the pure colour is at full strength — photo and video tools tend to use HSV, web design tends to use HSL. This tool shows both so you can match whichever your software expects.
Is my photo uploaded to a server for analysis?
No. The file is read into the page and drawn onto a canvas in your own browser; the pixels never leave your device. There is no upload endpoint behind this tool — you can disconnect from the internet after the page loads and it still works.
How do I use the extracted colours in the rest of my design?
Copy the palette as CSS variables and paste it into your stylesheet, download the palette strip PNG for a mood board, or send the top five colours straight into the Branded QR Code Generator or the OG Image Generator with the buttons under the palette — the colours travel inside the link, nothing is stored.
Next steps
More free tools
Color Palette Generator · Branded QR Code Generator · QR Code Generator · Image to Base64 · OG Image Generator · Image Compressor