HEX to RGB Converter
Convert a HEX color code to RGB and HSL values instantly, with a live color preview you can copy. Free, fast and private.
Your result will appear here.
How to use HEX to RGB Converter
- Enter a HEX color code such as #1E2A5A.
- Click Convert to RGB.
- Copy the RGB, HSL or CSS value.
Note: this tool runs in your browser. Nothing is uploaded.
Frequently Asked Questions
Is this tool free?
Yes, it is 100% free with no sign-up. Your data stays in your browser.
Do I need to install anything?
No. It works in any modern browser on phone, tablet or computer.
Is my data uploaded?
No. This tool runs entirely in your browser and your input is never uploaded to a server.
Does it accept 3-digit HEX codes?
Yes. A 3-digit code like #F60 is expanded to #FF6600 automatically before converting.