wavelength to (R,G,B,a)
how can i transmit a wavelength (in nano-meter) to a color in the format of (R,G,B,a)???
thanks
Hello!
There can be no accurate algorithm, because it depends on many thing how rgb looks. But I google found propably one algorithm, it is in perl, but you can propably rip it to c++ or whatever you want
Kelvin or wavelength to RGB converter
There can be no accurate algorithm, because it depends on many thing how rgb looks. But I google found propably one algorithm, it is in perl, but you can propably rip it to c++ or whatever you want
Kelvin or wavelength to RGB converter
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement