Color formats explained
HEX and RGB describe a color by its red, green and blue amounts. HSL describes hue, saturation and lightness, which is more intuitive for creating lighter or darker variants. HSV is common in design tools.
Enter any format or use the picker to see all others instantly, ready to paste into CSS.
How to use the Color Converter
- 1Enter a color or use the picker.
- 2See every format with a live preview.
- 3Copy the one you need.
Frequently asked questions
Is transparency supported?
Yes. Use 8-digit HEX, rgba() or hsla().
Which format should I use in CSS?
All of them work. HEX is the most compact, HSL is easiest to tweak.
