Convert a HEX token
Paste a color such as #2d7d76 to get RGB, HSL, and a CSS custom property.
Convert HEX colors to RGB, HSL, and CSS variable formats.
Designers and developers often need the same color represented in different formats. HEX is compact, RGB maps directly to screen channels, and HSL is useful for reasoning about hue, saturation, and lightness.
This converter accepts 3-digit and 6-digit HEX values. Alpha channels and named CSS colors are not included yet.
Paste a color such as #2d7d76 to get RGB, HSL, and a CSS custom property.
Use RGB and HSL output when translating design colors into CSS or documentation.
The converter accepts 3-digit and 6-digit HEX colors.
Alpha channels are not included yet. The current converter focuses on solid HEX colors.
Yes. The output includes a CSS custom property format you can copy into stylesheets.