HEX to HSL
Convert a HEX color code into HSL (hue, saturation, lightness), with an instant color preview.
How to use HEX to HSL
- Enter a HEX color code, such as
#ff6347. - Click "Convert to HSL" to see the equivalent
hsl(h, s%, l%)value and a live color swatch. - Copy the HSL value for use in CSS, where it's often easier to adjust lightness or saturation directly.
Why use this tool
HSL describes color in terms humans reason about naturally — hue, how saturated it is, and how light or dark. It's especially useful for creating consistent color palettes or tints/shades of a base color, which is awkward to do directly in HEX or RGB.
Frequently Asked Questions
What do H, S, and L stand for?
Hue (0-360 degrees on the color wheel), Saturation (0-100%, how vivid the color is), and Lightness (0-100%, how close to black or white it is).
Can I convert HSL back to HEX?
This tool currently converts HEX to HSL. Use the HEX to RGB or RGB to HEX tools alongside it for other conversions.