colFun: Color Function

View source: R/colFun.R

colFunR Documentation

Color Function

Description

Produce default RevGadgets colors

Usage

colFun(n)

Arguments

n

(integer; no default) Number of colors to return. Maximum of 12.

Details

Produces a vector of colors from the default RevGadgets colors of length given by n, maximum of 12 colors.

Value

Character vector of color hex codes.

Examples


my_colors <- colFun(2)


RevGadgets documentation built on Nov. 17, 2023, 1:07 a.m.