powered by
Finds the closest Munsell colour (in LUV space) to the specified sRGB colour
rgb2mnsl(R, G = NULL, B = NULL)
a numeric vector of red values or a 3 column matrix with the proportions R, G, B in the columns.
numeric vector of green values
numeric vector of blue values
plot_closest
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))
Run the code above in your browser using DataLab