code changed to show spectral color in color picker