hls | R Documentation |
Create a HLS color from specifying hue, luminance and saturation.
hls(h = 1, l = 0.5, s = 1)
h |
hue value in [0, 1]. |
l |
luminance value in [0, 1]. |
s |
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.
Achim Zeileis Achim.Zeileis@R-project.org
hsv
,
hcl2hex
,
polarLUV
## an HLS color wheel
pie(rep(1, 12), col = sapply(1:12/12, function(x) hls(x)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.