munsell (version 0.5.0)

rygbp: 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)

Value

character vector of Munsell colours

Arguments

col

character vector of Munsell colours

steps

number of hue steps to take

Examples

Run this code
my_red <- "10R 4/8"
rygbp(my_red)
plot_mnsl(c(my_red, rygbp(my_red, 2), rygbp(my_red, 4)))

Run the code above in your browser using DataCamp Workspace