powered by
Take an sRGB colour and plots it along with the closest Munsell colour (using rgb2mnsl to find it)
rgb2mnsl
plot_closest(R, G = NULL, B = NULL, back.col = "white")
ggplot object
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
colour for the background
plot_closest(0.1, 0.1, 0.3) plot_closest(matrix(c(.1, .2, .4, .5, .6, .8), ncol = 3))
Run the code above in your browser using DataLab