R: Make a munsell colour darker

darker {munsell} | R Documentation

## Make a munsell colour darker

### Description

Decreases the value of the Munsell colour by 1.

### Usage

    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

    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)

[Package munsell version 0.4.3 Index]