R: Make a munsell colour more saturated

saturate {munsell} | R Documentation

## Make a munsell colour more saturated

### Description

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

### Usage

    saturate(col, steps = 1)

### Arguments

`col` | character vector of Munsell colours
`steps` | number of steps to take in increasing chroma

### Value

character vector of Munsell colours

### Examples

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

[Package munsell version 0.4.3 Index]