Quick access

Saved in this browser. Sign in to keep it on all your devices.

Color Picker from Image

Upload, drop or paste a picture, then click it to get the HEX, RGB, HSL or CMYK code. Your picture stays on your device.

Drop a picture here

or paste one with Ctrl + V · JPG, PNG, WebP or GIF · never uploaded

·

Click or tap to pick. Keyboard: arrows move one pixel (Shift for 10), Enter picks.

Picked colour

That spot is transparent, so it has no colour.

Recent picks

Colour palette of this picture

This picture is fully transparent.

Related: Color Converter, CSS Gradient Generator and Photo Editor.

Version 1.0 Updated What's new

Release notes

  1. v1.0 Latest
    • New tool: click a picture to get its HEX, RGB, HSL, HSV or CMYK code, and see its colour palette.

About the Color Picker from Image

Color Picker from Image tells you the exact colour of any spot in a picture. Open a photo, logo or screenshot and click it: you get the HEX, RGB, HSL, HSV and CMYK codes, each with a Copy button. A zoomed loupe shows single pixels, so you can hit thin lines and small text, and the arrow keys move one pixel at a time. Below the picture is its palette: the 3 to 10 main colours with the share of the picture each one covers, ready to copy or download as CSS variables or a PNG swatch card. The picture is read by your own browser and never uploaded.

How to use it

  1. 1 Drop a picture on the page, choose one, or paste a screenshot with Ctrl + V.
  2. 2 Click or tap the spot you want. Use the loupe or the arrow keys to land on the exact pixel.
  3. 3 Copy the code you need, or copy and download the whole palette.

Frequently asked questions

How do I find the color code of something in a picture?

Open the picture here and click the colour. The HEX, RGB, HSL, HSV and CMYK codes appear beside it, and Copy puts one on your clipboard.

How do I pick a color from a screenshot or a website?

Take a screenshot (Windows + Shift + S on Windows, Cmd + Shift + 4 on a Mac), then paste it here with Ctrl + V and click the colour. In Chrome and Edge on a computer you can also press “Pick from screen” and click anywhere on your screen.

How do I get a color palette from an image?

The palette appears as soon as you open the picture. Choose how many colours you want, from 3 to 10, then copy them or download them as CSS or PNG. Every colour listed really occurs in the picture; very similar shades are counted together.

Why do I get slightly different codes for the same color?

A photo that looks like one colour is usually many close shades, because of light, shadow and JPG compression. Pick a spot in an evenly lit area, or use the palette, which groups similar shades. For logos, a PNG gives cleaner codes than a JPG.

Are CMYK codes exact for printing?

No. They are calculated from the screen colour without a printer profile, so treat them as a starting point and ask your printer for a proof when the colour matters.

Is my picture uploaded?

No. The picture is opened inside your browser and never leaves your computer or phone, and nothing is saved after you close the page.