AsiRuh adlı üyeden alıntı: mesajı görüntüle
Buyrun hocam kodları inceleyin kolay gelsin.
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body id="autocolor">
<script type="text/javascript">
(function(){
	var hexacode = ['#ff0000', '#00ff00', '#0000ff', '#ffffff','#ffff00'],
	el = document.getElementById('autocolor').style,
	counter = -1,
	hexalen = hexacode.length;
	function auto(){
		el.backgroundColor = hexacode[counter = ++counter % hexalen];
	}
	setInterval(auto, 1000);
})();
</script>

</body>
</html>
Teşekkür Ederim Hocam. Birşey soracağım renge göre yazı rengi belirleye bilme imkanımız varmı acaba