fix rainbow color, see #813
Merge pull request #814 from k-okada/fix_rainbow_color

fix rainbow color, see #813