add ability to convert color to nanometers