Description Usage Arguments Value Author(s) See Also Examples
colorwheel
allows you to easily visualize a color palette by
plotting all hues for the specified chroma and luminance
values using a color wheel
1 2 | colorwheel(chroma = 100, luminance = 60, labels = TRUE, alpha = 1,
fixup = TRUE)
|
chroma |
chroma value for palette |
luminance |
luminance value for palette |
labels |
logical, should degree labels be shown |
alpha |
transparency level defined on the interval [0, 1] where 0 = transparent and 1 = opaque |
fixup |
logical, should RGB value be corrected (see |
colorwheel
returns a pie chart showing the specified colors
Michael Malick
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | colorwheel()
colorwheel(chroma = 50, luminance = 60)
colorwheel(chroma = 100, luminance = 75)
colorwheel(chroma = 100, luminance = 25)
colorwheel(chroma = 100, luminance = 0)
colorwheel(chroma = 0, luminance = 50)
par(mfrow = c(4, 3), mar = c(2, 0, 1.5, 0))
for(i in seq(0, 100, 10))
colorwheel(chroma = i, labels = TRUE, fixup = TRUE)
par(mfrow = c(3, 3), mar = c(2, 0, 1.5, 0))
for(i in seq(20, 100, 10))
colorwheel(luminance = i, labels = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.