How to pick a color from an image
- 1Add an image. Click *Upload image*, drag a file onto the workspace, paste a screenshot with Ctrl + V (⌘ + V on Mac), or enter an image URL. JPG, PNG, WebP, GIF, AVIF, BMP and SVG are supported.
- 2Aim with the magnifier. Move your cursor over the image. A loupe magnifies the surrounding pixels and a crosshair marks the exact pixel under the pointer. Scroll to zoom and drag to pan for precision.
- 3Click to pick. The color is added to your picked colors and shown in every format — HEX, RGB, RGBA, HSL, HSV, CMYK and OKLCH — each with its own copy button.
- 4Use the palette. Open the *Palette* tab to see the image's dominant colors with their percentage share. Choose 5 to 24 colors, sort them, and export as CSS, SCSS, Tailwind, JSON or a PNG image.
Why use this image color picker?
Designers match brand colors from logos and mood boards, developers copy exact values from mockups and screenshots, and illustrators sample palettes from reference photos. This tool is built for all of them: it reads the true pixel value from the decoded image rather than estimating, and shows the result instantly in every color format you are likely to need.
Because everything runs locally with the HTML Canvas API, it is fast even with large photos, works with confidential screenshots, and keeps working when your connection is slow.
Color formats explained
Each format describes the same color in a different way. Pick the one that matches where you will use it:
| Format | Example | Best for |
|---|---|---|
| HEX | #2596BE | Web design, CSS, design tools. Six hexadecimal digits for red, green and blue. |
| RGB / RGBA | rgb(37, 150, 190) | Screens and code. Channels from 0–255; RGBA adds opacity from 0 to 1. |
| HSL | hsl(196, 67%, 45%) | Adjusting colors by hand: hue (0–360°), saturation and lightness. |
| HSV / HSB | hsv(196, 81%, 75%) | Color pickers in Photoshop, Figma and other design apps. |
| CMYK | cmyk(81%, 21%, 0%, 25%) | A starting point for print. Final print values depend on the press profile. |
| OKLCH | oklch(61.4% 0.112 225) | Modern CSS. Perceptually uniform, ideal for building consistent color scales. |
Accurate, private and free
- Pixel-accurate: colors are read directly from the decoded image data, with crisp nearest-neighbour zoom up to 6400% so you can target a single pixel.
- Private: images are processed on your device and are never uploaded. See our privacy policy.
- Smart palettes: dominant colors are found with median-cut and k-means clustering in the perceptual OKLab color space, and near-duplicates are merged automatically.
- Keyboard friendly: arrow keys move the selection one pixel (Shift for 10), Enter picks, Escape cancels, + and − zoom.