use ctype, each wavelength (from blue to red, increasing) is a binary digit. more info here and here
I found that a ctype of -536870912 gives like a full red