HEX to RGB Converter
Convert hex colour codes to RGB and HSL values.
Updated · Free · No sign-up
Copy this code into your website or blog to show this tool there, free:
How to use the HEX to RGB Converter
Type or paste your text into the first box. The result appears immediately in the second box, ready to copy or download. Replace the sample text with your own.
Worked example
Input:
#4f46e5 #0d9488
Output:
rgb(79, 70, 229) hsl(243, 75%, 59%) rgb(13, 148, 136) hsl(175, 84%, 32%)
Frequently asked questions
What does the HEX to RGB Converter do?
Convert hex colour codes to RGB and HSL values.
Is the HEX to RGB Converter free to use?
Yes. It is free, needs no sign-up and works on phones, tablets and computers. Everything is calculated in your browser, so what you enter is not sent to or stored on a server.