JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://www.invexgaming.com.au/jscripts/rainbow.js"></script>
<strong><span class="viptest">Your Username</span></strong>

JavaScript

$('.viptest').each(function() {
    $(this).rainbow({
      colors: ['#FF0000','#f26522','#fff200','#00a651','#28abe2','#2e3192','#6868ff'],
      animate: true,
      animateInterval: 125,
      pad: false,
      pauseLength: 125
    });
	});