Learn R Programming

munsell (version 0.5.1)

darker: Make a munsell colour darker

Description

Decreases the value of the Munsell colour by 1.

Usage

darker(col, steps = 1)

Value

character vector of Munsell colours

Arguments

col

character vector of Munsell colours

steps

number of steps to take in decreasing value

Examples

Run this code
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)

Run the code above in your browser using DataLab