Color format converter
Convert a six-digit HEX color to RGB and HSL.
01 / Your input
02 / Your result
Your result will appear here.
How to use this tool
- Enter your own values, or select Load example to restore the demonstration inputs.
- Review the input text before selecting Run tool.
- Inspect the result, then copy it or download the generated file. Changing inputs clears the previous result.
Processing happens in this browser. Inputs are not uploaded or saved by the tool. Reset clears the result and restores the default settings.
Example and expected result
#536ed8 gives rgb(83, 110, 216).
Limits and interpretation
Accepts six hexadecimal digits, with an optional #. Alpha and named CSS colors are not accepted.