This function returns the RGB values for a source spectrum.
Usage
rgb_spct(spct, sens = photobiology::ciexyzCMF2.spct, color.name = NULL)
Value
A color defined using rgb()
. The numeric values of the RGB
components can be obtained
See also
Other color functions:
w_length2rgb()
,
w_length_range2rgb()