Skip to content

Image Color Picker

Click a picture to get the color as HEX, RGB and HSL, see its main colors, and check if text in that color can be read. It all happens on your device.

How to pick a color from an image

  1. Drop a JPG, PNG or WebP picture in the box above.
  2. Click or tap the spot you want. Use the magnifier, or the arrow keys and Enter, for the exact pixel.
  3. Copy the HEX, RGB or HSL value. Press “Add to my colours” to keep it in a list you can copy all at once.

Good to know

Frequently asked questions

How do I get the color code of a picture?

Add the picture and click or tap the spot you want. Its HEX code (like #FF5733), RGB and HSL values appear below, each with a Copy button. Drag along the picture to move, and watch the magnifier to hit the exact pixel.

How do I find the main colors of a photo?

As soon as the picture is added, the page lists its main colors (up to eight) with how much of the picture each one covers. Click one to use it. The palette is found on your device, from the pixels of the picture.

Can I pick a color from anywhere on my screen?

In Chrome and Edge, yes: press "Pick from anywhere on the screen". It uses the browser's own dropper, which also works on other windows. Firefox and Safari do not have it yet, so there you pick from a picture (take a screenshot first and add it here).

What do HEX, RGB and HSL mean?

They are three ways to write the same color. HEX (#FF5733) is used in web design and CSS. RGB gives the red, green and blue amounts from 0 to 255. HSL gives the hue (the angle on the color wheel), the saturation and the lightness, which is easy to adjust by hand.

What does the contrast check tell me?

It shows how readable text in the chosen color would be on a white and on a black background. 4.5:1 or more (AA) is good for normal text; 7:1 or more (AAA) is best; between 3 and 4.5 is only fine for large text.

Is my picture uploaded?

No. The picture is read in your browser, on your device. Nothing is sent to a server, and nothing is kept.