HSL to HEX
HSL to hex conversion transforms a color from its Hue, Saturation, Lightness (HSL) representation into its six-digit hexadecimal (#RRGGBB) equivalent.
This involves mathematical formulas to convert the HSL values (hue, saturation, lightness) into their corresponding Red, Green, and Blue (RGB) components. The RGB values are then converted to their two-digit hexadecimal representations (00-FF) to produce the final hex code.