chrestos_colors: Hex codes of Chrestos colors

View source: R/chrestos_colors.R

chrestos_colorsR Documentation

Hex codes of Chrestos colors

Description

Hex color codes of Chrestos colors in different shades

Usage

chrestos_colors(..., shade = 0.5, names = TRUE)

Arguments

...

Names of the colors. Possible values are grey, turq, green, purple, orange and yellow. If not specified, all colors are returned.

shade

Numeric vector in [0,1] that defines the brightness of the color(s). Values higher then 0.5 lead to brighter colors than the original shade, values lower than 0.5 lead to darker colors.

names

Should the colors be returned as a named vector (default = TRUE)

Value

A named vector of hex codes.

Examples

chrestos_colors()
chrestos_colors("turq", "purple", shade = c(0.1, 0.9))
chrestos_colors("turq", shade = c(0.1, 0.5, 0.9))
chrestos_colors("turq", "green", "purple", shade = 0.3)


seb09/cccolr documentation built on Aug. 1, 2022, 1:49 a.m.