Look up a wavelength
from tinycio import Spectral
# Look up a wavelength (nm) as CIE XYZ color
col_xyz = Spectral.wl_to_xyz(490) # Float3([0.0320, 0.2080, 0.4652])
# Look up a wavelength as sRGB color
col_srgb = Spectral.wl_to_srgb(490) # Float3([0. , 0.9257, 1. ])

See: Spectral