JSFiddle - React, Tailwind, and code Playground

HTML

<div style="color:#FFF;width:100%;height:100%;text-align:center;margin:50px 0 0 0;font-size:76px;font-weight:bold;background:#0090FF;">
	<small>.</small>
	<small>.</small>
	<small>.</small>
</div>

JavaScript

$(document).ready(function() {  
 setInterval(function() {
    $('small:nth-of-type(1)').animate( { color: '#F7B903' }, 750)
    .animate( { color: '#FFF' }, 1000); 
    }, 1000);

 setInterval(function() {
    $('small:nth-of-type(2)').animate( { color: '#5BB6FD' }, 750)
    .animate( { color: '#FFF' }, 1000); 
    }, 2000);

 setInterval(function() {
    $('small:nth-of-type(3)').animate( { color: '#D13360' }, 750)
    .animate( { color: '#FFF' }, 1000); 
    }, 3000);

 });