Pick exact colors straight from an image
Recreating a design, matching a brand color from a logo, or pulling a palette out of a photo all start the same way: you need the exact value of one pixel. This picker draws your image onto a canvas, reads the pixel under your cursor, and hands you the color in the three formats CSS understands — hex, rgb() and hsl() — each with its own copy button. Every picked color and palette swatch links to a dedicated color page with tints, shades, harmonies and WCAG contrast ratios, so one click takes you from “that blue in the screenshot” to a full working palette.
How to use the color picker
- Drop, browse or paste an image — PNG, JPEG, WebP, GIF or SVG.
- Move the crosshair over the preview; the live readout follows your cursor.
- Click to lock a pixel, then copy the hex, RGB or HSL value.
Below the preview the tool also extracts the image’s eight most dominant colors automatically, which is often faster than hunting for representative pixels by hand. If you want to build out a full scheme from one of them, feed it into the Color Palette Generator, or convert between formats any time with the Hex to RGB Converter.
A note on color accuracy
Canvas pixels are sRGB, so images saved in wider gamuts (Display P3 photos from a modern phone, for instance) are converted before you pick from them. That conversion is exactly what a browser does when it renders the image on a web page — which means the values you copy here are the right ones to put in your stylesheet, even if a native color picker on a P3 display reports something slightly different.