Diamond sabers can do it.
Emerald sabers you can only pick two colors but you can get a third through the transition. Pick red and blue then you will get purple during the transition.
Not my video or font but a good example of a rainbow idle effect...