Hex / RGB / HSL Converter
Convert a valid colour between Hex, RGB, and HSL formats.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: Conversion supports opaque sRGB colours; alpha channels are not included.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use Hex / RGB / HSL Converter
Enter a colour as #RGB, #RRGGBB, rgb(r, g, b) or hsl(h, s%, l%).
Press “Convert colour”.
Copy the Hex, RGB or HSL value you need.
About this tool
Convert a colour between Hex, RGB and HSL, for example #1E90FF to rgb(30, 144, 255), with a preview swatch of the result.

