HomeDeveloper toolsColor Converter

Color Converter

Convert HEX colors to RGB and HSL values.

How to use the color converter

Enter a six-digit HEX color to see its RGB and HSL representations.

Example

#FF0000 becomes rgb(255, 0, 0) and hsl(0, 100%, 50%).

Good to know

The output is rounded to whole HSL values, so converting back may not reproduce every original channel exactly.