Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hls

HLS Color Specification


Description

Create a HLS color from specifying hue, luminance and saturation.

Usage

hls(h = 1, l = 0.5, s = 1)

Arguments

h

hue value in [0, 1].

l

luminance value in [0, 1].

s

saturation value in [0, 1].

Details

HLS colors are a similar specification of colors as HSV colors, but using hue/luminance/saturation rather that hue/saturation/value.

Author(s)

See Also

Examples

## an HLS color wheel
pie(rep(1, 12), col = sapply(1:12/12, function(x) hls(x)))

vcd

Visualizing Categorical Data

v1.4-10
GPL-2
Authors
David Meyer [aut, cre], Achim Zeileis [aut] (<https://orcid.org/0000-0003-0918-3766>), Kurt Hornik [aut], Florian Gerber [ctb], Michael Friendly [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.