Convert a color in HSl (Hue,Saturation,Light) format to RGB 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
Hsl2Rgb(c(43.8,0.873,0.492,0.498),alpha.bln=TRUE)
#> red green blue alpha
#> 235 176 16 127