/tools/image-color-picker

Image Color Picker

Upload an image, hover to preview the color under the cursor and click to lock it in. You get HEX, RGB and HSL values with copy buttons, plus a palette of the image's main colors.

Private & secure
Upload image or drag & drop
JPG · PNG · WebP

How to use the Image Color Picker

01
Upload
Drop an image.
02
Click to pick
Click anywhere to grab a colour. A palette is extracted automatically.
03
Copy
Copy HEX, RGB or HSL, or the whole palette as CSS.

How to pick a color from an image

Move the crosshair over the picture and the swatch below it shows the color under the cursor as you go. Click to pick: a marker drops on that spot and the large swatch on the right updates with its HEX, RGB and HSL values, each with its own Copy button. Click again anywhere to pick another color.

Picking reads pixels from the copy of the image already loaded in the page, so it responds instantly. The palette beside it is extracted on the server, so the image is uploaded once when you open it. Click any palette swatch to see its codes in the same way.

HEX, RGB or HSL: which to use

HEX, such as #2563EB, is the compact form most design apps and CSS files use. RGB, written rgb(37, 99, 235), gives the red, green and blue channels from 0 to 255, handy in code and when you need to tweak a single channel. HSL, written hsl(221, 83%, 53%), describes hue in degrees, then saturation and lightness as percentages, which makes it easy to create lighter or darker versions of the same color by changing one number.

Getting an accurate pick

Photos are rarely made of flat color. Noise, shading and JPEG compression mean neighboring pixels can differ noticeably, so a single click on skin, sky or fabric may land on a slightly lighter or darker pixel than the area looks overall. Pick from the middle of an even area, or use the palette swatch for that region, which represents a group of similar pixels.

For speed, very large images are sampled from a copy scaled to at most 1,200 pixels on the longest side. That doesn't matter for areas of color, but a one-pixel line in a huge image may blend slightly with its surroundings.

Supported formats

JPGPNGWebP

Files up to 25 MB. Large, high-resolution photos are supported.

Privacy

Your file is sent over HTTPS, processed in memory and returned straight away. It is never stored, never shared and never used for anything else. No account needed. How we handle files.

Image Color Picker FAQ

Why is the picked color slightly different from what I expected?

You probably landed on a pixel affected by noise, shading or compression. Try a nearby spot or use the matching palette swatch.

Can I pick exact colors from a logo or screenshot?

Yes. Flat-color graphics like logos and interface screenshots give exact values, as long as you click inside a solid area rather than on an anti-aliased edge.

How do I convert HEX to RGB?

Split the six digits into three pairs and convert each from hexadecimal: #2563EB becomes 25, 63 and EB, which is rgb(37, 99, 235). The picker shows both, so you don't have to.

Can I save several picked colors?

Pick and copy one at a time, or use Copy palette as CSS to grab the image's main colors in one go.

Does the color picker work on a phone?

Yes. Tap the image to pick a color. The live preview while hovering needs a mouse or trackpad.

Are my images safe?

Your file is sent over HTTPS, processed in memory and returned straight away. It is never stored, never shared and never used for anything else.

Is it free?

Yes. No account, no watermark and no limit on how many images you process. Files can be up to 25 MB.

Related tools

See all 6 color tools →