lighter: Make a munsell colour lighter

Description Usage Arguments Value Examples

Description

Increases the value of the Munsell colour.

Usage

1
lighter(col, steps = 1)

Arguments

col

character vector of Munsell colours

steps

number of steps to take in increasing value

Value

character vector of Munsell colours

Examples

1
2
3
4
5
6
7
8
lighter("5PB 2/4")
cols <- c("5PB 2/4", "5Y 6/8")
p <- plot_mnsl(c(cols, lighter(cols), lighter(cols, 2)))
p + ggplot2::facet_wrap(~ names, ncol = 2)
# lighter and darker are usually reversible
lighter(darker("5PB 2/4"))
# unless you try to pass though white or black
lighter(darker("5PB 1/4"))

munsell documentation built on May 2, 2019, 5:57 a.m.