cardigan: Generates palettes based on Mr. Rogers cardigans

Description Usage Arguments Value

View source: R/cardigans.R

Description

These color palettes are based on Owen Phillips blog post on [Mr. Rogers cardigans](https://theawl.com/every-color-of-cardigan-mister-rogers-wore-from-1979-2001-83c1faba2677) and [@Henryjean's code](https://github.com/Henryjean/Rogers-Cardigans). And the real work in getting these colors is from [Tim Lybarger](http://www.neighborhoodarchive.com/about/).

Usage

1
cardigan(n, type = c("discrete", "continuous"))

Arguments

n

Number of colors desired. Default is to use all colors.

type

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

Value

A vector of colors.


jhollist/cardigans documentation built on June 6, 2017, 2:18 a.m.