Converts wavelengths in nanometers into corresponding visible colors.
Numeric vector of wavelengths (in nanometers) to convert into colors.
Returns a character vector of the same length as
wav, with an RGB color for each wavelength. Wavelengths out of visible ranges return black.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.