Color preview will appear here
Examples
RGB to HEX Converter
Enter a color to see conversions
#ff0000, rgb(255,0,0), hsl(0,100%,50%), red
What is RGB?
RGB stands for Red, Green, Blue. Each component ranges from 0 to 255. It's the standard color model for screens and digital displays. Example: rgb(255, 87, 51)
What is HEX?
HEX is a hexadecimal color code used in web design. It consists of a # followed by 6 characters (0-9 and A-F) representing red, green, and blue values. Example: #FF5733
How to convert RGB to HEX?
Simply enter your color value in the input field above and the conversion will happen automatically. You can then copy the result with one click.