Color RGB Convert Tool
Enter any of HEX, RGB or HSL and the other formats update together, with a text contrast check.
CSS values
What is RGB?
RGB is a color model that represents colors by combining red, green and blue light.
FAQ
How do I convert an RGB color?
Enter a value in any HEX, RGB or HSL field. The other formats update together, with CSS values and the contrast of white and black text.
What is text contrast?
Contrast is the difference in brightness between text and its background. The AA standard asks for at least 4.5 : 1 for normal text and 3 : 1 for large text.
What is the difference between HEX, RGB and HSL?
HEX is a hexadecimal color code, RGB uses red, green and blue values, and HSL uses hue, saturation and lightness.