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
- Enter a 3- or 6-digit hexadecimal color, with or without the leading #.
- Select Generate to calculate the RGB and HSL values.
- 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.