HEX / RGB / HSL Converter
Convert color values between HEX, RGB and HSL and copy the format you need for CSS and design.
FreeBrowserAbout HEX / RGB / HSL Converter
Convert a color between HEX, RGB and HSL representations. Read the equivalent values when translating a design specification into CSS or adjusting a color by hue and saturation.
When to use this tool
- Translate a design HEX value into CSS RGB.
- Inspect the hue and lightness of a color.
Limits to know before using it
Supported input formats follow the controls shown in the tool. Display settings and surrounding colors can affect perceived color even when numeric values match.
Data handling and cost
The main operation runs in your browser; tool input is not uploaded for processing. The site can still use session cookies and collect operational or usage data as described in the privacy policy.
Free to use in your browser, with no sign-in needed.
Frequently Asked Questions
No. HEX, RGB, and HSL are different representations of the same color. Minor rounding can occur when converting HSL values.
The tool accepts common 3-digit and 6-digit HEX colors, with or without the leading #.
Yes. The generated HEX, RGB, and HSL outputs are formatted for direct use in CSS.