Learn R Programming

gooseR (version 0.1.0)

brand_palette: Get brand color palette

Description

Get brand color palette

Usage

brand_palette(brand = "block", palette = "categorical", n = NULL)

Value

Character vector of hex colors

Arguments

brand

Name of the brand

palette

Type of palette ("categorical", "sequential", "diverging")

n

Number of colors to return (NULL for all)

Examples

Run this code
if (FALSE) {
colors <- brand_palette("block", "categorical")
}

Run the code above in your browser using DataLab