RGB to Hex

RGB to Hex


Enter red, green and blue color levels (0-255) and press the Convert button:

Red color (R):
Green color (G):
Blue color (B):
Color preview:
 
Hex color code:
RGB color code:
HSL color code:

About RGB to Hex

This tool it is possible to perform the conversion of a hex color to RGB in real time and vice versa. There is also a viewer to generate and display RGBA transparencies (i.e. RGB with Alpha channel), and at the same time show the code to copy and paste in the css.