EVERYDAY UTILITIES / FREE BROWSER TOOL

Color converter

Convert hexadecimal colors to RGB and HSL values.

Files are processed in this browser and are not uploaded to YYY Tools.Details
Opening workspace

About Color converter

Convert HEX to RGB and HSL when translating a design color between common notations. You can also convert a short HEX color such as #369, which expands to #336699. The tool returns integer RGB channels and rounded HSL values.

How to convert a HEX color to RGB

  1. Enter a 3- or 6-digit hexadecimal color, with or without the leading #.
  2. Select Generate to calculate the RGB and HSL values.
  3. Copy the values from the result or download the text report.

A practical example

Input
#369
Result
#336699
RGB: 51, 102, 153
HSL: 210°, 50%, 40%

Three-digit notation duplicates each channel digit. HSL values are rounded for display.

Supported input and limitations

  • Only 3- and 6-digit HEX input is accepted. Alpha HEX, named colors, RGB input, and HSL input are not parsed.
  • This does not calculate contrast ratios, accessibility compliance, CMYK print profiles, or perceptual color-space conversions.

Processing happens on your device. Read about local processing and optional workspace recovery.

Frequently asked questions

Can I convert 3-digit HEX to RGB?

Yes. A short form such as #abc expands to #aabbcc before the RGB and HSL values are calculated.

Does the converter support 8-digit HEX with alpha?

No. Enter an opaque 3- or 6-digit HEX color; alpha channels are not supported by this converter.

Related tools