Color converter (HEX, RGB, HSL)
Convert colors between HEX, RGB and HSL with a live preview and color picker. Handy for CSS and design work.
Runs in your browser ยท nothing is sentConvert & format
| HEX | #4f46e5 |
|---|---|
| RGB | rgb(79, 70, 229) |
| HSL | hsl(243, 75%, 59%) |
About this tool
Enter a color as HEX, rgb() or hsl(), or pick one. All formats are shown and can be copied for your CSS.
๐ Your input stays in your browser and is never sent anywhere.
Frequently asked questions
Is 3-digit HEX supported?
Yes. #fff is expanded to #ffffff.
What to do next
Found a problem or have a suggestion? Tell us