In this JavaScript Tutorial, you will learn how to do animation using setInternal API. Here, we will animate the HTML H1 tag’s color by setting the RGB Color mix in a regular interval of 10 Milli-seconds.