Description
RGBtoMunsell
Converts RGB coordinates to a Munsell specification, by interpolating over the extrapolated Munsell renotation data
Usage
For Munsell to RGB conversion, a vector of R colors is returned that is the same length as the input data. If returntriplets is TRUE, then a dataframe (of sample length as input) of r,g,b values is returned. For RGB to Munsell conversion, a dataframe (NA-padded) of hue, value, chroma, and Euclidean distance to nearest matching color is. There is a reasonable introduction to Munsell in the Wikipedia. Data for conversion from Munsell to CIE xyY can be found here. An online tool for exploring Munsell (unfortunately, Windows only) can be found here. Munsell to sRGB conversion tables, maximum chroma. Hold your mouse still to get rgb values. RGB - HEX Color Code Converter. This interactive online color conversion tool allows you to calculate the transition between RGB and HEX values. Input one of the codes to convert it to the other one instantly. A successful conversion changes the background color of the page and generates CSS code snippets for quick use.
Arguments
RGB | a numeric Nx3 matrix with RGB coordinates in the rows,or a vector that can be converted to such a matrix, by row.These are non-linear display values, but they are not required to be integers. |
space | the name of an installed RGB space.Spaces |
maxSignal | maximum value of RGB for display.Other popular values are 1, 1023, and 65535.Even when 1, they are still taken to be non-linear display values. |
adapt | method for chromatic adaptation,see |
... | other parameters passed to |
Details
The conversion is done in 3 steps.
RGB rarrow XYZ using
XYZfromRGB()
with the givenspace
andmaxSignal
XYZ is adapted from the white-point of
space
to Illuminant Cusing the given chromatic adaptation methodXYZ rarrow HVC using
XYZtoMunsell()
Value
Rgb To Munsell Converter Online Software
a numeric Nx3 matrix with HVC coordinates in the rows.The rownames are copied from input to output.
In case of error, it returns NULL
.
Author(s)
Jose Gama and Glenn Davis
Rgb To Munsell Converter Online Converter
References
Wikipedia. sRGB.https://en.wikipedia.org/wiki/SRGB.
Paul Centore 2014The Munsell and Kubelka-Munk Toolboxhttp://centore.isletech.net/~centore/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
See Also
XYZfromRGB()
,XYZtoMunsell()
,CAT()