RGB to HEX Color Code Converter

Red color (R):
Green color (G):
Blue color (B):

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. 

Antony Dex

CEO / Co-Founder

Enjoy the little things in life. For one day, you may look back and realize they were the big things. Many of life's failures are people who did not realize how close they were to success when they gave up.


We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.