Help with automation - Switch Toggle -> Alternate in more than 2 events

Hello…
Please, can anybody help me with this?
I have a RGB LED controller runing Tasmota and I have set a SONOFF MINI (Tasmota) connected to a physical switch… I wish to every physical switch toggle to alternate on more than just on/off…
Every switch toggle, alternate in ON-RED, ON-GREEN, ON-BLUE, OFF, etc…
Is that possible?
Thanks!