fix rainbow color, see #813