image.cihat.dev

Color picker from image

Point at any pixel of a photo, logo or screenshot and copy its exact colour code.

How to use it

  1. Drop an image on the box, paste a screenshot, or choose a file.
  2. Move over the image: the loupe magnifies the pixels and the codes update as you go.
  3. Click or tap to keep a colour. Kept colours collect below, so you can build a set.
  4. Copy a single code, or Copy all HEX codes for the whole set.

HEX, RGB and HSL: which code to use

All three describe the same colour. Pick the one your app asks for:

FormatExampleUsed in
HEX#E8A04ACSS, Figma, Canva, most design apps
RGBrgb(232, 160, 74)CSS, Photoshop, Office colour dialogs
HSLhsl(33, 77%, 60%)CSS, when you want to tweak lightness or saturation

Why a pixel can differ from what you see

Photos are made of slightly different neighbouring pixels, especially after JPEG compression, so two clicks a pixel apart can give different codes. Use the loupe to land in the middle of a flat area. For the main colours of a whole image rather than one pixel, use the palette generator on this site.

Colour names

The name shown is the closest of the 148 named colours CSS understands, measured by how different two colours look to the eye, not by raw numbers. It is a handy label, not an official name for the colour.

Questions people ask

How do I find the HEX code of a colour in an image?

Drop the image here, click the colour, and copy the HEX value shown next to the swatch.

Can I pick colours from a screenshot?

Yes. Take the screenshot, then paste it here with Ctrl+V or Cmd+V.

Does it work on a phone?

Yes. Touch and drag: the loupe sits above your finger, and the colour is kept when you lift it.

Can I get the colour name too?

The nearest CSS colour name is shown for every pick.

Is the image uploaded?

No. Colours are read from the image in your browser.