nice_colors | R Documentation |
Nice Color Schemes
nice_colors(style="contrast_area",saturation=1,alpha=1,value=1)
style |
pre-defined Color-Scheme. "contrast_area" returns partial-complementary colors, with reduced saturation with rising number of colors. This is useful for area-diagramms, where the focus of the eye shall be forced to the bottom of the diagramm. |
saturation |
saturation (0-1) |
alpha |
Transparency (Attention, there are problems with certain graphic devices or printers! |
value |
Brightness. If brightness is part of the color-scheme, value is a reduction factor of existing brightness. |
Vector of Hexa-Format of colors.
Benjamin Bodirsky
## Not run:
pie(1:12,col=nice_colors())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.