har_palette: A palette generator inspired by the colors of Haribo gummy...

Description Usage Arguments Value

Description

These are a handful of color palettes from Haribo gummy bear compositions.

Usage

1
har_palette(name, n, type = c("discrete", "continuous"))

Arguments

name

Name of desired palette. Choices are: goldbears, goldbearsUS, goldbearsFAN, konfekt, picoballa, baerchenpaerchen, tropifrutti

n

Number of colors desired. If type is set to "discrete", this value will be limited to the number of colors available in the palette. If omitted, uses all colours.

type

Either "continuous" or "discrete". Use continuous if you want to automatically interpolate between colours.

Value

A vector of colours.


federicomarini/haR documentation built on May 16, 2019, 12:14 p.m.