Guide: HEX, RGB and HSL color converter
When to use it
To move a color from a design to CSS or between programs.
Tips
- A 3-digit HEX such as #fa0 is the same as #ffaa00.
- HSL is handy for making a color lighter or darker.
Frequently asked questions
Which format do I use in CSS?
Any of the three works: HEX, rgb() or hsl().