rgb2mnsl {munsell}R Documentation

Converts an RGB colour to Munsell...

Description

Converts an RGB colour to Munsell

Usage

rgb2mnsl(R, G, B)

Arguments

R a numeric vector of red values or a 3 column matrix with the proportions R, G, B in the columns.
G numeric vector of green values
B numeric vector of blue values

Details

Finds the closest Munsell colour (in LUV space) to the specified RGB colour

See Also

plot_closest

Examples

rgb2mnsl(0.1, 0.1, 0.3)
rgb2mnsl(matrix(c(.1, .2, .4, .5, .6, .8),  ncol = 3))
plot_closest(matrix(c(.1, .2, .4, .5, .6, .8),  ncol = 3))

[Package munsell version 0.1 Index]