A representation for a color specified via hue, saturation, and lightness values.
See also: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
A percentage value (0-1) representing how transparent the color is.
An angle (0-360) representing the color based on its location in a color wheel.
Check if a color is perceived bright or not.
A percentage value (0-1) representing how bright the color is.
Calculate a color's luminance, which is a calculation for how bright it is perceived to be by the human eye.
A percentage value (0-1) representing how grey the color is.
Darken this color by some target percent value.
Lighten this color by some target percent value.