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 May 29, 2024, 10:03 a.m.