How to get a color (as a hexadecimal string) from a wavelength (nm, in the visible range). A function is provided in the following languages:
- Python
- TypeScript
- Javascript
Based on: http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm
(Copyright: http://www.efg2.com/Lab/Copyright.htm)
MIT License
Copyright (c) 2019 Gabriele Girelli
This project comes from the potpourri sandbox. ( ゚ヮ゚)/