Image Color Picker
Click any pixel to get its exact colour in HEX, RGB, HSL, and OKLCH. Auto-extract a dominant colour palette from any image. One-click copy. Files never leave your device.
Drop an image to pick colours
or click to browse ยท Click anywhere on the image to pick a colour ยท Auto-extract dominant palette
How to pick colours from any image
- 1Upload an image
Drop an image into the tool, click to browse, or paste from your clipboard. Supports JPEG, PNG, WebP, and HEIC.
- 2Pick a colour
Hover over the image to see a live colour preview. Click any pixel to sample it. Get HEX, RGB, HSL, and OKLCH values instantly.
- 3Copy or extract palette
Copy any colour value with one click. The dominant colour palette extracts automatically โ copy as HEX list, CSS variables, or JSON.
How to get the HEX code of any colour in an image
Getting exact colour codes from images is a core design workflow. Whether you're matching brand colours from a client's logo, pulling palette inspiration from photography, or extracting the exact shade from a mockup for CSS implementation, an eyedropper tool eliminates guesswork. HEX codes are the web standard โ every CSS property, design tool, and brand guideline uses them. RGB values are the raw colour components that screens display. HSL separates colour into hue, saturation, and lightness, making it intuitive for adjustments like โmake this 10% lighterโ or โshift the hue slightly warmerโ.
What is a colour palette and how is it extracted?
A colour palette is a curated set of the most representative colours in an image. This tool uses median cut quantisation โ the same algorithm used in GIF compression and image processing. It works by collecting every pixel in the image into a single group, finding which colour channel (red, green, or blue) has the widest range, sorting by that channel, and splitting at the median. This process repeats recursively until the desired number of colour groups is reached. Each group is then averaged to produce one representative colour. The result is a perceptually meaningful palette that captures the image's visual character, sorted from lightest to darkest for consistent display.
Get GEO & AEO tips every week
The Layman SEO newsletter. Plain English updates on what is changing in search - SEO, AEO, and GEO - and what to do about it. One email a week. Unsubscribe any time.
No spam. No paywall content. Unsubscribe with one click.