create a rainbow color pattern