← All free tools Misc tools

HSL to HSLA

Convert your HSL color format to HSLA format.

Accepts any format: #a8d08d, rgb(168 208 141), hsl(96, 42%, 68%), hsv(96, 32%, 82%) or a color name.

About this tool

Type or paste an HSL color, or choose one with the picker, and the converter shows it as HSLA 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 HSL to HSLA

HSLA is HSL with alpha, the opacity, added: keep the HSL values and add an alpha of 1 for a solid color. hsl(96, 42%, 68%) becomes hsla(96, 42%, 68%, 1).

HSL to HSLA examples

ColorHSLHSLA
Sage green hsl(96, 42%, 68%) hsla(96, 42%, 68%, 1)
Red hsl(0, 100%, 50%) hsla(0, 100%, 50%, 1)
Tomato hsl(9, 100%, 64%) hsla(9, 100%, 64%, 1)
Gold hsl(51, 100%, 50%) hsla(51, 100%, 50%, 1)
Dodger blue hsl(210, 100%, 56%) hsla(210, 100%, 56%, 1)
Indigo hsl(275, 100%, 25%) hsla(275, 100%, 25%, 1)
Black hsl(0, 0%, 0%) hsla(0, 0%, 0%, 1)
White hsl(0, 0%, 100%) hsla(0, 0%, 100%, 1)

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.

What is HSLA?

HSLA is HSL with alpha, the opacity, added as a number from 0 (invisible) to 1 (solid).

Have a project in mind?

Have a brand or a product to grow?