Advertisement
Namecheap VPS hosting

Image colour picker

Find the exact colour code of any part of a picture. Upload a photo, logo or screenshot, or paste one with Ctrl+V, then click the spot you want. You get the colour in HEX, RGB and HSL, ready to copy into your design, website or app. The tool also shows the main colours in the image, so you can build a palette quickly.

#026AA8 Picked colour
HEX
RGB
HSL
Advertisement
Namecheap VPS hosting

How to use the image colour picker

  1. Choose or drop an image, or paste a screenshot with Ctrl+V.
  2. Move over the image to preview colours, then click or tap to pick one.
  3. Click Copy next to the HEX, RGB or HSL code you need.
  4. Click any main colour or picked colour chip to copy it.

How it works

The image is drawn onto a canvas in your browser, and the tool reads the red, green and blue values of the pixel you click. Nothing is uploaded.

Colour codes:

  • HEX writes red, green and blue as two hexadecimal digits each, such as #026AA8. It's the most common format in web design.
  • RGB gives the same three values as numbers from 0 to 255, such as rgb(2, 106, 168).
  • HSL describes hue (0–360°), saturation and lightness, which is easier to adjust by hand.

Main colours are found by grouping similar pixels together and listing the biggest groups, skipping colours that look almost the same.

In Chrome and Edge on a computer, the pick from anywhere on screen button lets you pick a colour from outside the image too.

If you need to convert a code you already have, use the colour converter.

Example

Upload a screenshot of a website and click its main button. If the picker shows #026AA8, that is rgb(2, 106, 168) and hsl(202, 98%, 33%): the same colour, written three ways.

Frequently asked questions

How do I find the colour code of an image?

Upload the image here and click the colour you want. The tool shows its HEX, RGB and HSL codes, which you can copy with one click.

Why does the colour look slightly different from what I expected?

Photos are made of many slightly different pixels, and JPG compression blurs colours a little. Try clicking a few spots nearby, or use the main colours list, which averages similar pixels.

Can I pick a colour from my screen?

Yes, in Chrome and Edge on a computer, use the button to pick from anywhere on screen. On other browsers, take a screenshot and paste it here with Ctrl+V.

Is my image uploaded?

No. The image is read in your browser and never leaves your device.

Last updated: 29 October 2026