from_wavelength


Description:

[ Version ( since = "1.3.4" ) ]
public void from_wavelength (double wavelength)

Set an RGB color which is roughly representative to the wavelength.

Parameters:

this

a ColorRGB for the RGB result

wavelength

the wavelength roughly between 380nm and 780nm