Increases the value of the Munsell colour.

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")
#> [1] "5PB 3/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"))
#> [1] "5PB 2/4"
# unless you try to pass though white or black
lighter(darker("5PB 1/4"))
#> [1] "N 1/0"