title: Rotating words js - how to change the color as well
body: <p>I just found this demo in a different thread, but would like to ask if there is any chance I could change the color of the rotating text as well, I was playing around but couldn't manage to figure it out, any help would be appreciated please</p>
  
  <p>Working <a href="http://jsfiddle.net/zqEmT/4/" rel="nofollow">demo</a></p>
  
  <pre><code>var keywords = ["awesome", "cool", "fantastic", "incredible"];
  var count = 1;
  setInterval(function(){    
      $("span.keyword").fadeOut(400, function(){        
          $(this).html(keywords[count]);        
          count++;        
          if(count == keywords.length)            
              count = 0;        
          $(this).fadeIn(400);    
      });
  }, 2000);
  </code></pre>