What it does
Image color picker tells you the exact colour of one pixel in a picture: the blue of a logo, the shade of a wall in a photo, or a colour from a screenshot you want to match. You pick the pixel on the image itself, and the tool shows its colour three ways:
- HEX: such as
#1A2B3C, the code most design tools and web pages use. - RGB: such as
rgb(26, 43, 60), the red, green and blue values from 0 to 255. - HSL: such as
hsl(210, 40%, 17%), the hue in degrees, then saturation and lightness in percent. - Pixel: where the pick is, such as
x 1,200, y 45, counted in pixels from the image’s top-left corner.
A swatch under the image shows the picked colour beside its HEX code and position.
How to use it
- Drop your image on the drop area, paste it, or select Choose a file. Select “Try a sample” to see an example photo. The first pick is the pixel at the centre of the image.
- Click or tap the image where you want the colour. With a mouse, drag to watch the values change as you move; press Esc during a drag to put the pick back where it was. On a touch screen, drag the crosshair to move it; a swipe on the image elsewhere scrolls the page.
- With the keyboard, press Tab to reach the image and use the arrow keys to move the pick one pixel at a time; Shift moves it 10 pixels.
- Select Copy HEX, or press Ctrl+Enter (⌘+Enter on a Mac). The RGB and HSL values have a Copy button each.
Good to know
- The tool reads JPG, PNG, WebP, AVIF (where your browser opens it), GIF and BMP still images. Animated images, HEIC photos, SVG and TIFF files aren’t supported.
- The values are the colours as your browser shows the image, in sRGB.
- Each value is one pixel’s own colour, with no averaging of the pixels around it.
- A partly see-through pixel adds its alpha:
#1A2B3C80,rgba(26, 43, 60, 0.5)andhsla(210, 40%, 17%, 0.5). - HSL is rounded to whole degrees and percentages, so turning it back into RGB can land a few units away from the pixel’s RGB.
- Photos taken sideways on a phone show upright, and the position counts from the top-left of the upright picture.
Limits
You can pick from one image at a time, up to 50 MB and 50 megapixels. Adding another image replaces the one there. A partly see-through pixel’s colour channels are as your browser’s canvas returns them, which can be off by a unit or more when the pixel is nearly transparent.
Privacy
Your image stays on your device: the tool runs in your browser and doesn’t upload it. Nothing is saved for your next visit, not the image and not the colours you picked. When the site shows ads, Google can use cookies for them: in the EEA, the UK and Switzerland, Google asks for your consent first, and elsewhere Google’s own policies apply. The Privacy page explains how.