Type: Package
Title: Color Palettes Inspired by Nature in the US Pacific Northwest
Version: 0.1.0
Author: Jake Lawlor
Maintainer: Jake Lawlor <jakealawlor@gmail.com>
Description: PNW-Inspired Palettes for 'R' data visualizations. Palettes are variable in length and checked for colorblind accessibility from hue, saturation, and lightness value scaling using the 'Chroma.js Color Palette Helper' https://gka.github.io/palettes/.
Encoding: UTF-8
LazyData: true
License: CC0
RoxygenNote: 7.0.2
Suggests: ggplot2
URL: https://github.com/jakelawlor/PNWColors
NeedsCompilation: no
Packaged: 2020-06-08 15:42:47 UTC; jakethesnake85
Repository: CRAN
Date/Publication: 2020-06-12 10:40:02 UTC

PNW Palette Generator.

Description

This function builds palettes based on natural scenes in the Pacific Northwest. Each palette is inspired by the author's nature photography of the region, and checked for color blind safety using Chroma.js Color Palette Helper. View photos for each palette On Github.

Usage

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

Arguments

name

Name of the color palette. Options are Starfish, Shuksan, Bay, Winter, Lake, Sunset, Shuksan2, Cascades, Sailboat, Moth, Spring, Mushroom, Sunset2, Anemone

n

Number of colors in the palette. Palletes include 5-8 colors, which can be used discretely, or if more are desired, used as a gradient. If omitted, n = length of palette.

type

Usage of palette as "continuous" or "discrete". Continuous usage interpolates between colors to create a scale of values. If omitted, function assumes continuous if n > length of palette, and discrete if n < length of palette.

Value

A vector of colors.

Examples

pnw_palette("Winter",n=100,type="continuous")
pnw_palette("Bay",3)
pnw_palette("Starfish",50)


Complete list of palettes

Description

Use names(pnw_palettes) to view list of palette names. Currently: Starfish, Shuksan, Bay, Winter, Lake, Sunset, Shuksan2, Cascades, Sailboat, Moth, Spring, Mushroom, Sunset2, and Anemone.

Usage

pnw_palettes

Format

An object of class list of length 14.

mirror server hosted at Truenetwork, Russian Federation.