Skip to contents

Returns a vector of hex colors from one of the fundr palettes.

Usage

fundr_palette(palette = c("primary", "secondary", "tertiary"))

Arguments

palette

Palette name: "primary", "secondary", or "tertiary".

Value

An unnamed character vector of hex color codes.

Examples

# Get the primary palette (2 colors)
fundr_palette("primary")
#> [1] "#ff0000" "#f2ebe7"

# Get the secondary palette (10 colors)
fundr_palette("secondary")
#>  [1] "#ff8d78" "#933195" "#00a8bf" "#97c2a3" "#327fef" "#8c84e3" "#ed86e0"
#>  [8] "#963ac7" "#101921" "#d0ced5"

# Get the tertiary palette (4 colors)
fundr_palette("tertiary")
#> [1] "#7d3f16" "#ed8c00" "#f2ce00" "#909b44"