okcolors {okcolors}R Documentation

Retrieve a Color Palette from the okcolors package

Description

Returns a vector of 'n' colors from a specified palette included in the okcolors package.

Usage

okcolors(palette = "obsession", n = 5)

Arguments

palette

Character. Name of the palette to use. One of '"it"', '"stone"', '"skyscrapers"', '"obsession"', or '"moment"'. Default is '"obsession"'.

n

Integer. Number of colors to return. Default is '5'.

Details

The available palettes are:

Value

A character vector of hex color codes of length 'n'.

Examples

okcolors("stone", 3)
okcolors("obsession", 7)


[Package okcolors version 0.1.0 Index]