Decreases the chroma of the Munsell colour by one step steps (multiples of 2).

desaturate(col, steps = 1)

Arguments

col

character vector of Munsell colours

steps

number of steps to take in decreasing chroma

Value

character vector of Munsell colours

Examples

desaturate("5PB 2/4")
#> [1] "5PB 2/2"
cols <- c("5PB 2/6", "5Y 7/8")
p <- plot_mnsl(c(cols, desaturate(cols), desaturate(cols, 2)))
p + ggplot2::facet_wrap(~ names, ncol = 2)