How would one actively hueshift/rainbow text?

Yo. I'm trying to set a command type (Limit in this example) to actively hueshift/change color. Is this possible at all? I know I can set color codes, but I'd like it to actively scroll through colors with a rainbow effect similar to how Limit Breaks appear in the command menu in Final Fantasy 7.

Original thread: https://forums.rpgmakerweb.com/threads/how-would-one-actively-hueshift-rainbow-text.94937/