Learn R Programming

munsell (version 0.4.3)

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)

Arguments

col

character vector of Munsell colours

steps

number of hue steps to take

Value

character vector of Munsell colours

Examples

Run this code
# NOT RUN {
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 DataLab