nice_colors: nice_colors

View source: R/nice_colors.R

nice_colorsR Documentation

nice_colors

Description

Nice Color Schemes

Usage

nice_colors(style="contrast_area",saturation=1,alpha=1,value=1)

Arguments

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.

Value

Vector of Hexa-Format of colors.

Author(s)

Benjamin Bodirsky

Examples

## Not run: 
pie(1:12,col=nice_colors())

## End(Not run)

pik-piam/luplot documentation built on Jan. 29, 2025, 12:30 a.m.