darker: Make a munsell colour darker

View source: R/alter.r

darkerR 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)

munsell documentation built on May 29, 2024, 7:29 a.m.