How to find the hex code of any colour in an image
The fastest way to get the hex code from an image is to use a browser-based eye-dropper tool that reads the colour directly off the pixel you click. The hex code (also called the HTML color code) is the 6-character format like #3B82F6 that designers paste into Figma, developers paste into CSS, and brands use in their style guides.
- Drop the image into the tool above. JPG, PNG, WebP, GIF, and most other browser-supported formats work. The image is decoded by your browser, never uploaded.
- Hover the image. A tooltip follows the cursor with a live preview of the colour and its hex code, so you can scan a photo before committing.
- Click the pixel you want. The picked colour locks in the side panel with its hex, RGB, HSL, and OKLCH values plus a one-click copy.
Every hex code from this tool is the exact pixel value, not an averaged approximation. If you need a colour finder from image with pixel precision (a brand logo, an icon background, a button colour from a screenshot), clicking directly on that pixel gives you the canonical hex without rounding.
Color palette generator from image, in detail
The auto-extracted palette is generated by median-cut quantization over a downscaled copy of your image. Click the palette size selector to choose 4, 5, 6, 8, 10, or 12 colours. Each card shows the hex code and the approximate share of the image that colour represents, so you can tell at a glance which tones are dominant and which are accent or background.
As a color palette generator from photo, the tool works best with images that have a clear visual identity: brand mockups, product shots, posters, moodboard images, gradients, illustrations, paintings, and travel photos. A photo of a single object on a neutral background produces a clean 3 to 5 colour palette. A complex scene like a city skyline at sunset will yield a more granular 8 to 12 colour palette that captures the gradient transitions.
Transparent pixels in PNG or WebP images are ignored during palette extraction, so a logo on a transparent background returns just the logo's colours rather than mixing them with a checkered or white canvas.
Every colour format, from one click
Whether you need an RGB color picker from image, a hex picker from image, or the modern OKLCH value for a 2026 design system, this tool outputs all four formats simultaneously for every pixel you click:
| Format | Example | When to use it |
|---|---|---|
| Hex | #3B82F6 | CSS, HTML, Figma, Canva, brand guides. The universal format. |
| RGB | rgb(59, 130, 246) | When you need to manipulate channels individually, or when working with image-processing code. |
| HSL | hsl(217, 91%, 60%) | For building shade scales (same hue, varied lightness) and for explaining colour to non-designers. |
| OKLCH | oklch(0.623 0.188 260) | Modern perceptual colour space for design systems. Two colours at the same OKLCH lightness look equally bright. |
The tool also shows the closest Tailwind 500-shade name (e.g. blue-500) and the best WCAG contrast ratio against pure white or pure black, so you can tell immediately whether your picked colour is accessible for body text.
An eye dropper tool that works on any image
The eye dropper (sometimes spelled eyedropper or colour dropper) is the small magnifier-style picker built into image editors like Photoshop and operating systems like macOS. It samples the colour of a single pixel and reads it back in your chosen format. The image color picker on this page is a free, browser-based eye dropper tool that works on any image you can open in a tab, without installing Photoshop or signing into Adobe.
If you have used the native eye dropper in Photoshop, Affinity, GIMP, or Procreate, this tool will feel familiar: hover for a live preview, click to lock the colour, and copy any of the four output formats. The difference is that this one runs in your browser, on any device, with no install, and without uploading the image anywhere.
Color scheme generator: derive harmonies from your image
Once you have a dominant colour from your image, you can use it as the starting point for a full colour scheme. Each card in the auto-extracted palette is a candidate base colour. Click any swatch to set it as the picked colour, then pair it with our companion Color Picker, which generates complementary, analogous, and triadic harmonies from any hex.
A typical workflow:
- Drop the image into this tool. Note the dominant colour from the palette.
- Open the Color Picker in a new tab.
- Paste the dominant hex; the harmonies panel produces complementary, analogous, and triadic swatches.
- Pick one as your accent colour. You now have a 2-colour brand scheme rooted in the photo.
For Canva users: getting the palette into your design
Canva has a built-in palette generator, but it caps you at 5 colours, picks them automatically, and does not let you adjust palette size. The image color picker on this page extracts up to 12 colours, sorted by share of the image, and lets you click individual pixels for full pixel-level control.
To use the palette in Canva: extract the palette here, copy each hex code, then in Canva click any element with a colour, choose the colour picker, and paste the hex into the input field. Repeat for each colour. The same workflow works for Figma, Sketch, Affinity, and any tool that accepts a hex input.
Image color picker vs Photoshop, Canva, Coolors, and Adobe Color
| Tool | Pixel pick | Palette size | Free | Browser-based |
|---|---|---|---|---|
| Gizmoop Image Color Picker | Yes, pixel-exact | 4 to 12, adjustable | Yes, no signup | Yes, no upload |
| Adobe Photoshop (Eye Dropper) | Yes | Not built-in (manual) | Paid subscription | No, native app |
| Canva (Photo Color Palette) | No | Up to 5 (auto) | Free with account | Yes, requires login |
| Coolors | Yes (image upload) | Up to 5 (default) | Free with limits | Yes |
| Adobe Color | Yes (image upload) | Up to 5 (auto) | Free with Adobe ID | Yes, requires login |
| macOS Digital Color Meter | Yes | Not built-in | Free, built-in | No, native app |
The honest summary: if you want a fast, free, no-signup, browser-based image color picker with both pixel-exact picking and a flexible 4 to 12 colour palette, this tool covers it. If you need advanced editing, gradient manipulation, or harmony exploration after extraction, pair this with our companion Color Picker or open a dedicated editor.