背景色が変化します。 for(i=0;i<=nnn;i=i+N) ・・・nnn=繰返(色変化),N=変化の速度 { document.bgColor=i*256*256+i*256+256; } ・・・R*256*256+G*256+B*1 色々試して下さい。