✳tools.stBrowse tools
◈ Processed on your device
±

Color converter

Convert a HEX color to RGB and HSL.

Free

Convert a three-digit or six-digit HEX color to RGB and HSL notation. Enter a HEX value with or without its # prefix, or use the color picker. The result includes normalized six-digit HEX, RGB channels and rounded HSL values.

◈ Local processingFree

How to use

  1. Enter a three-digit or six-digit HEX color, or select one with the color picker.
  2. Run the converter to generate HEX, RGB and HSL values.
  3. Copy or download the color notation you need.

Worked example

Example input

#f00

Example result

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

Limitations and details

Only three-digit and six-digit HEX input is supported; alpha transparency, named colors and RGB/HSL input are not accepted. HSL values are rounded to whole numbers, so converting them back may introduce small differences.

Frequently asked questions

Is this tool free and private?

Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.

Related tools