Make a munsell colour darker

Share:

Description

Decreases the value of the Munsell colour by 1.

Usage

1
darker(col, steps = 1)

Arguments

col

character vector of Munsell colours

steps

number of steps to take in decreasing value

Value

character vector of Munsell colours

Examples

1
2
3
4
darker("5PB 3/4")
cols <- c("5PB 3/4", "5Y 7/8")
p <- plot_mnsl(c(cols, darker(cols), darker(cols, 2)))
p + ggplot2::facet_wrap(~ names, ncol = 2)