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 is a simple tool for converting HEX values to RGB and vice versa. It runs on the web browser. It can convert RGB to hexadecimal color code (HEX), or convert hexadecimal color code to RGB.