profinit_cols {profiplots}R Documentation

Profinit colors

Description

This function provides an access to standardized Profinit colors hex codes.

Usage

profinit_cols(..., named = FALSE)

Arguments

...

Either character name(s) or order of Profinit colors. Leave empty for the full color set.

named

Flag whether to produce named vector of profinit colours. Defautls to FALSE.

Value

Named character vector the same length as input params.

Examples

# to get Profinit red hexcode
profinit_cols("red")

# to get Profinit red and gray hexcodes
profinit_cols("red", "grey")

# to get the first Profinit color
profinit_cols(1)

# to get all Profinit colors
profinit_cols()
scales::show_col(profinit_cols())


[Package profiplots version 0.2.3 Index]