JSFiddle - React, Tailwind, and code Playground

by apoucoz

HTML

<p id="text">Это ваш переливающийся текст</p>

JavaScript

function change() 
{ 
re="rgb("+Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+")"
text.style.color= re; 
}

setInterval(change,500);