Get consecutive 'rainbow' colors

The trouble with a list of colors is that when geometry changes, the color list must also be changed.