darker: Make a munsell colour darker

Description Usage Arguments Value Examples

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)


Search within the munsell package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.