Skip to main content

hsl

Function hsl 

Source
pub const fn hsl<T>(hue: T, saturation: T, lightness: T) -> HslaOf<T>
where T: Float,
Expand description

Alpha is at max

H : Color coefficient. Ex: 0 = red, 0.25 = green, 0.5 = blue, 0.75 = magenta

S : Grayscale : 0, 1: pure color.

L : Black & White level. 0 = black, 0.5 = pure color, 1 = white