all_colors: Provide all unikn colors and base R colors

View source: R/color_fun_1.R

all_colorsR Documentation

Provide all unikn colors and base R colors

Description

all_colors combines the unikn color gradients with the 657 named colors provided by colors of grDevices.

Usage

all_colors(distinct = TRUE)

Arguments

distinct

Boolean: Return only colors with unique values and names? Default: distinct = TRUE (i.e., remove duplicate values and names).

Details

The color values returned (as a named character vector) are either HEX/HTML codes or base R color names.

The distinct option removes colors with duplicate color values or names.

Value

A named vector of color values (of type character).


unikn documentation built on May 29, 2024, 10:41 a.m.