How to use the Image Color Picker tool
- Load a pictureDrop a photo, screenshot or logo, click to browse, or paste with Ctrl+V.
- Hover, then clickMove across the image to see the colour under the loupe, and click to capture it.
- Copy a valueGrab the HEX, RGB or HSL code; each captured colour is kept in the list below.
- Use the paletteTake the automatically detected key colours, or copy them all as CSS variables.
Picker features
- Zooming loupeAn enlarged view of the pixels around the pointer makes precise selection easy.
- Automatic paletteDetects the eight most significant colours, sorted by how much of the picture each covers.
- Screen-wide eyedropperIn Chrome and Edge, sample a colour from any window or application on your screen.
- Keyboard controlStep one pixel at a time with the arrow keys, ten with Shift, and press Enter to capture.
- Stays on your deviceYour picture is handled in the browser and never uploaded.
Why sample colours from an image?
- Brand matching: find a logo’s exact HEX value when no style guide is to hand.
- Palettes from photos: base a website, slide deck or room makeover on the colours of a favourite picture.
- Front-end work: lift colours from a mock-up screenshot straight into your CSS.
- Arts and crafts: match paints, threads or fabrics to a reference image.
Three ways to write a colour
- HEX, for example
#0EA5E9, is the standard in web design, CSS and tools like Figma and Canva. - RGB, such as
rgb(14 165 233), lists red, green and blue values and is common in CSS, Photoshop and screen or video work. - HSL, like
hsl(199 89% 48%), describes hue, saturation and lightness, which makes lighter or darker shades easy to create.
Need CMYK for printing or a contrast check for accessibility? Paste the HEX value into our Color Converter.
Why does one area give several slightly different colours?
Lighting, texture, sensor noise and JPEG compression mean a photo is made of many marginally different pixels. Use the loupe and sample from a flat region, or rely on the automatic palette, which averages similar pixels into representative shades. For logos and graphics, work from the original PNG or SVG instead of a compressed screenshot to get the true brand colour.
How the palette is calculated
Similar pixels are grouped with k-means clustering, a standard colour-quantisation method, and the average colour of each group is shown, largest group first. Transparent pixels are skipped, so logos with clear backgrounds produce a clean palette.
Starting from an SVG logo? Convert it first with SVG to PNG.