Hacker News new | ask | show | jobs
by aaaaaaaaaaab 1746 days ago
Take the dot product between 1 - your spectrum and the CIE XYZ color matching functions, then convert it to sRGB or any other color space of your choice.