Patches

Color to HSL

Color to HSL

Convert a color to HSL and alpha values from 0 to 1.

Color to HSL

  •  
  • Hue
  • Saturation
  • Lightness
  • Alpha

Input

The color to convert.

Hue

A number from 0 to 1 that represents the hue of the color.

Saturation

A number from 0 to 1 that represents the saturation of the color.

Lightness

A number from 0 to 1 that represents the lightness of the color.

Alpha

A number from 0 to 1 that represents the opacity of the color.