HSLColor
An HSLColor is a color representation that encodes color using the Hue-Saturation-Lightness (HSL) color space, often with an optional alpha component to indicate transparency. It is used in many graphics and UI frameworks to support intuitive color manipulation, since adjustments to hue, saturation, and lightness often correlate with perceptual changes in color.
A typical HSLColor consists of four components: hue, saturation, lightness, and alpha. Hue is measured in degrees
Conversions and interoperability are central to HSLColor. Most rendering frameworks ultimately convert HSL values to RGB
Applications of HSLColor include design tools, color pickers, and theming systems where perceptual adjustments are more