Hex to RGB, RGB to hex

Type in either box and the other one updates.

Brightness 62 out of 100. See shades and tints of #FF69B4

FAQ

How do I convert hex to RGB?

Split the six digits into three pairs and turn each pair from base 16 into a number from 0 to 255. #FF69B4 becomes FF, 69 and B4, which is rgb(255, 105, 180).

How do I convert RGB to hex?

Turn each of the three numbers into a two-digit base 16 value and join them. rgb(255, 105, 180) becomes FF, 69 and B4, which is #FF69B4.

Can I paste a whole rgb() value?

Yes. Paste rgb(255, 105, 180), 255 105 180 or 255,105,180 into the RGB box and the hex code updates.