Convert a color in HSL (Hue,Saturation,Light) to hexadecimal format.
Arguments
- hsl.col
<charcater>: a vector of the color's HSL code.
- alpha.bln
<logical>: whether the alpha layer should be returned. (Default FALSE)
Examples
Hsl2Hex(c(43.8,0.873,0.492,0.498),alpha.bln=TRUE)
#> [1] "#ebb0107f"