RGB to hex Converter Online
- Convert the red, green and blue color values from decimal to hex.
- Concatenate the 3 hex values of the red, green and blue togather: RRGGBB.
Convert red color (255,0,0) to hex color code:
R = 25510 = FF16
G = 010 = 0016
B = 010 = 0016
So the hex color code is:
Hex = FF0000
What does this RGB to Hex converter do?
It takes input in the form of values for Red, Green and Blue ranging from 0 to 255 and then converts those values to a hexadecimal string that can be used to specify color in html/css code. Photo editing software usually represents color in RGB and therefore if you would like to use the colors you use in your photo editing software as the background of your html element then you will have to get the hexadecimal representation of the RGB values. This tool allows you to get those values.