rygbp: Change the hue of a munsell colour

View source: R/alter.r

rygbpR Documentation

Change the hue of a munsell colour

Description

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

Usage

rygbp(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 <- "10R 4/8"
rygbp(my_red)
plot_mnsl(c(my_red, rygbp(my_red, 2), rygbp(my_red, 4)))

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