more correct spectrum coloring