rcb: Hex color codes from RColorBrewer

Description Usage Arguments Value Examples

View source: R/rcb.R

Description

Accesses the graphclassmate::rcb_colors dataset and returns a hex color code.

Usage

1

Arguments

pattern

A character variable of a custom color name of the form "level_hue", with 4 levels (dark, mid, light, pale) and 5 hues (Br, BG, PR, Gn, Gray or Grey). For example, "dark_Br", "mid_BG", "light_Gn", or "pale_Gray."

Value

A hexadecimal color code in character form "#nnnnnn"

Examples

1
rcb("dark_Br")

graphdr/graphclassmate documentation built on May 27, 2021, 4:41 a.m.