Text color change animation without interaction

Hi everyone!

How can I change successively and endlessly the color of different part of the same text block at the loading of the page without specific interactions with them?

Capture d’écran 2022-03-08 à 12.06.07

Part 1 will switch from color 1 to color 2 then switch back to color 1 before part 2 switch from color 1 to color 2 and back to color 1 before part 3 etc…

Thank you very much for helping out!