01 / HEX
#9B7DFF
Red, green and blue as two hexadecimal digits each. The usual code for websites and design apps.
Free tool
Drop in a picture or paste a screenshot, then click any pixel to get its colour as HEX, RGB and HSL. A magnifier shows the exact pixel under your pointer. The main colours of the whole picture are pulled out as a palette you can copy as CSS, JSON or a swatch picture.
Click to pick a colour. Arrow keys move one pixel at a time after a click; Enter picks again.
Palette of the picture
Picked
Colours you click are kept here.
Colours are read in your browser. The picture is never uploaded.
Colour codes
01 / HEX
Red, green and blue as two hexadecimal digits each. The usual code for websites and design apps.
02 / RGB
The same three amounts from 0 to 255. Handy in code and in apps that ask for numbers.
03 / HSL
Hue, saturation and lightness. Easy to make a colour lighter, darker or calmer by hand.
Questions
JPG compression and colour profiles shift colours a little. A PNG screenshot of the design gives the most exact value. The tool reads the pixel exactly as the browser shows it.
The picture is shrunk and its pixels are grouped into the number of colours you choose (k-means clustering). Each swatch is the average of one group, and the share shows how much of the picture it covers.
In Chrome and Edge, yes: "Pick from anywhere on screen" turns the pointer into an eyedropper for anything on your screen. Safari and Firefox do not offer this yet, so the button is hidden there.
Yes. Take a screenshot (on a Mac, Shift Command 4, then hold Control to copy it), click this page and press Command V.
No. The picture is read in this browser tab.