pbgyr: Change the hue of a munsell colour

View source: R/alter.r

pbgyrR Documentation

Change the hue of a munsell colour

Description

Moves the hue of a munsell colour in the direction purple->blue->green->yellow->red->purple

Usage

pbgyr(col, steps = 1)

Arguments

col

character vector of Munsell colours

steps

number of hue steps to take

Value

character vector of Munsell colours

Examples

my_red <- "2.5R 4/8"
pbgyr(my_red)
plot_mnsl(c(my_red, pbgyr(my_red, 2), pbgyr(my_red, 4)))

cwickham/munsell documentation built on April 7, 2024, 7:04 p.m.