Enter red, green and blue color levels (0-255) and press the Convert button:
Enter the Red, Green, and Blue levels (each from 0 to 255) and press Convert. The tool shows a color preview and gives you the Hex, RGB, and HSL color codes.
Each channel number is turned into two hexadecimal digits. For example, 255 is FF and 0 is 00. So rgb(52, 152, 219) becomes #3498DB. Together the three channels can describe 16,777,216 different colors (256 x 256 x 256).
Both describe the same color. RGB uses three numbers, and HEX packs them into a short code that starts with #.
Yes, it is free to use. To convert in the other direction, try our Hex to RGB Converter.