JavaScript Demo
JavaScript / HTML/ CSS Code
Output
Stop color change by clearInterval
Stop color change by clearInterval