HEX / RGB / HSL Converter
Convert color values between HEX, RGB and HSL and copy the format you need for CSS and design.
Free
What is HEX / RGB / HSL Converter tool?
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. Translate a design HEX value into CSS RGB. Inspect the hue and lightness of a color.
How to use it
- Enter a supported HEX, RGB or HSL color.
- Inspect the color preview and equivalent representations.
- Copy the representation required by your stylesheet.
FAQ
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.
Related Tools
Color Picker / PaletteChoose a base color and generate tints, shades and companion palettes for web design.Image & Design ToolsFreeColor Contrast CheckerCalculate text and background contrast ratios and check WCAG requirements for readability.Image & Design ToolsFreeGradient GeneratorAdjust gradient colors and effects, preview the background and generate CSS for your website.Image & Design ToolsFree



