RGB to HEX - Convert RGB color to HEX color code. Enter Red (R), Green (G), Blue (B) color levels (from 0 to 255) or select from list of colors and then these values will be converted to hexadecimal string automatically, you can see the results below.
RGB to HEX Color Converter
How to convert RGB to HEX color code?
What is RGB color?
• RGB color, stands for Red, Green and Blue, three main colors are mixed together to create other colors.
• Three main colors (Red, Green, Blue) use 8 bits, have integer values from 0 to 255. The number of colors that can be generated is: 256×256×256 = 1677721610 = 100000016
What is HEX color code?
• HEX color code is a 6 digits hexadecimal number: RRGGBB16 (RR16 represent the Red color, GG16 represent the Green color and BB16 represent the Blue color).
Convert RGB to HEX color:
• How to convert? Convert the Red, Green and Blue color values from decimal to hexadecimal and then concatenate the 3 hexadecimal values of the Red, Green and Blue.