Converts wavelength in nm (visible light: 380:780 nm) to RGB. NOTE that this is not a fully correct spectrum, see Details.
the wavelength in nm to convert to RGB
implemented following the java code posted at http://stackoverflow.com/questions/1472514/convert-light-frequency-to-rgb . Also see http://www.fourmilab.ch/documents/specrend/ for original code and why not all wavelengths can be converted to RGB.
Rainer Machne [email protected]
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.