Input
Preview
Output Values
Color Format Reference
HEX codes use a # followed by 6 hexadecimal characters (e.g., #FF5733). RGB uses three values 0-255 for Red, Green, Blue channels. HSL uses Hue (0-360), Saturation (0-100%), and Lightness (0-100%).
This tool converts between all major color formats used in CSS, including hex, RGB, RGBA, and HSL notation. Simply enter a value in any format and all other formats update instantly.