<div id="blink" style="color:blue;">闪烁的文字</div>
<script language="javascript"> function changeColor() { var color = "#fff|red|yellow|blue|black|#ff6768"; color = color.split("|"); document.getElementById("blink").style.color = color[parseInt(Math.random() * color.length)]; } setInterval("changeColor()", 200);</script>