Color converter

Convert a HEX color code to RGB and HSL.

In plain words: Websites describe colours with codes such as #2f5bea. This shows the same colour as RGB and HSL numbers, which designers and code use.

About this tool

Enter a 3 or 6 digit HEX code to see the matching RGB and HSL values and a preview swatch. Handy for web design and graphics.