lighter {munsell} | R Documentation |
Make a munsell colour lighter
Description
Increases the value of the Munsell colour.
Usage
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
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"))
[Package munsell version 0.5.1 Index]