• Advertisement

Archived

This topic is now archived and is closed to further replies.

wavelength to (R,G,B,a)

This topic is 5277 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how can i transmit a wavelength (in nano-meter) to a color in the format of (R,G,B,a)??? thanks

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites

  • Advertisement