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 representing the hue of the color.

Saturation

A number from 0 to 1 representing the saturation of the color.

Lightness

A number from 0 to 1 representing the lightness of the color.

Alpha

A number from 0 to 1 representing the opacity of the color.