snapalette: A palette generator from my holiday snaps

View source: R/colors.R

snapaletteR Documentation

A palette generator from my holiday snaps

Description

list of palettes from my holiday snaps

Usage

snapalette(name, n, type = c("discrete", "continuous"))

Arguments

name

Name of desired palette. Choices are:

n

Number of colors desired.

type

Either "continuous" or "discrete". Use continuous if you want to automatically interpolate between colours. @importFrom graphics rgb rect par image text

Details

list of palettes from my holiday snaps

Value

A vector of colours.

References

https://github.com/karthik/wesanderson


mrc-ide/snapalette documentation built on March 29, 2024, 3:16 a.m.