HEX, RGB and HSL color converter
Enter a color in any format, or pick one, and get it in HEX, RGB and HSL at once, ready to paste into your CSS.
Runs in your browser. Nothing is uploaded.
Loading the color converter…
How to use the color converter
-
Type a color such as #0033ff, rgb(0, 51, 255) or hsl(228, 100%, 50%), or use the color picker.
-
Check the preview.
-
Copy the format you need.
Frequently asked questions
Does the converter support transparency?
Yes. Eight-digit HEX and rgba() and hsla() values keep their alpha channel.