RGB to HEX Color Code Converter
RGB - HEX Color Code Converter
This interactive online color conversion tool allows you to calculate the transition between RGB and HEX values.
Input one of the codes to convert it to the other one instantly.
A successful conversion changes the background color of the page and generates CSS code snippets for quick use.
HEX Input the first field accepts values with or without the hash sign.
It works for both 3 and 6 character long codes.
The calculator can handle some typos too, for example when the second digit of a component is an invalid character, not in the hexadecimal range 0-F.
RGB Input it works both for upper and lowercase rgb or rgba codes, but you can ignore the starting rgb mark and the brackets.
Make sure you add three numbers in the 0-255 range separated by commas.