random_color: Select a random color

Description Usage Arguments Value

View source: R/utils.R

Description

Excludes gray and white colors and colors from exclude_colors list and returns one random color.

Usage

1
random_color(exclude_colors = NA)

Arguments

exclude_colors

Vector of color names (from [base::colors()]) to exclude from random selection.

Value

A random color name


martina-starc/peRson documentation built on April 14, 2021, 3:48 p.m.