Last chance! 50% off unlimited learning
Sale ends in
Create a HLS color from specifying hue, luminance and saturation.
hls(h = 1, l = 0.5, s = 1)
hue value in [0, 1].
luminance value in [0, 1].
saturation value in [0, 1].
HLS colors are a similar specification of colors as HSV colors, but using hue/luminance/saturation rather that hue/saturation/value.
# NOT RUN {
## an HLS color wheel
pie(rep(1, 12), col = sapply(1:12/12, function(x) hls(x)))
# }
Run the code above in your browser using DataLab