How to get a colour code from an image
- Upload a picture, paste a screenshot or load an image from a URL.
- Move over the image: the magnifier shows the individual pixels under the pointer.
- Click (or tap) the colour you want. Its HEX, RGB and HSL codes appear below, ready to copy.
- Recent picks are kept as swatches so you can compare colours.
Need every colour in the picture rather than one? Use the palette generator for the main colours, or Pixel Color Values to export the colour of every pixel, row by row.
Frequently asked questions
Why is the colour slightly different from the design file?
JPG compression, colour profiles and screenshots can shift colours by a few values. For exact brand colours, pick from a PNG export or the original file rather than a photo or compressed screenshot.
What is the difference between HEX and RGB?
They describe the same colour. RGB gives the red, green and blue amounts from 0 to 255; HEX writes the same three numbers in hexadecimal, e.g. rgb(255, 87, 51) = #FF5733.
Can I pick a colour from my screen?
Take a screenshot, then paste it here with Ctrl+V (Cmd+V on Mac). It is never uploaded.