HSLA to HSL
Convert your HSLA color format to HSL format.
About this tool
Type or paste an HSLA color, or choose one with the picker, and the converter shows it as HSL as you type, with a preview and every other format underneath, each with its own copy button. It reads colors written in any of the formats, and color names like “tomato”, too.
How to convert HSLA to HSL
HSL is HSLA without the alpha: keep the color values and drop the opacity, so hsla(96, 42%, 68%, 0.8) becomes hsl(96, 42%, 68%). The color comes out fully solid.
HSLA to HSL examples
| Color | HSLA | HSL |
|---|---|---|
| Sage green | hsla(96, 42%, 68%, 0.8) |
hsl(96, 42%, 68%) |
| Red | hsla(0, 100%, 50%, 0.8) |
hsl(0, 100%, 50%) |
| Tomato | hsla(9, 100%, 64%, 0.8) |
hsl(9, 100%, 64%) |
| Gold | hsla(51, 100%, 50%, 0.8) |
hsl(51, 100%, 50%) |
| Dodger blue | hsla(210, 100%, 56%, 0.8) |
hsl(210, 100%, 56%) |
| Indigo | hsla(275, 100%, 25%, 0.8) |
hsl(275, 100%, 25%) |
| Black | hsla(0, 0%, 0%, 0.8) |
hsl(0, 0%, 0%) |
| White | hsla(0, 0%, 100%, 0.8) |
hsl(0, 0%, 100%) |
What is HSLA?
HSLA is HSL with alpha, the opacity, added as a number from 0 (invisible) to 1 (solid).
What is HSL?
HSL describes a color by its hue (0 to 360 degrees on the color wheel), saturation and lightness. It’s easy to adjust by hand: keep the hue and change the lightness to get lighter and darker shades of the same color. CSS accepts it directly.