Converts a wavelength provided in nm into a representative RGB color. Please note that this script should only be used for vizualization purposes and that there is no scientific concept behind the conversion.
The idea was taken from academo. For a more detailed explanation, please also have a look at this page.