<HTML>
<HEAD>
<TITLE>Renk Kodu</TITLE>
<style type="text/css">
.text{
position:relative;
font-family:Courier New;
font-size:20px;color:#ffffff;
}
</style>
<script language="JavaScript">
<!--
function chosen(){
currentbg=document.bgColor;
if (document.layers) x=document.f1.b1.value;
else x=document.getElementById("disp").innerHTML;
r=x+=currentbg.toUpperCase();
Wrte=r+" ";
if (document.layers){
document.f1.b1.value=Wrte;
document.layers.disp.document.open();
document.layers.disp.document.write("<div style='position:absolute;top:0px;left:0px;font-family:Courier New;font-size:20px;color:#ffffff'><b>"+Wrte+"</b></div>");
document.layers.disp.document.close();
}
else document.getElementById("disp").innerHTML= "<font color=#"+randhex+"><b>"+Wrte+"</b></font>"
}
var running=false;
var tmr=null;
var hex="0123456789ABCDEF";
var temp=hex.split('');
var randhex="";
function rbg(){
getspd = document.f1.speed;
spd = getspd.options[getspd.selectedIndex].value;
running=true;
var gethex=new Array();
randhex="";
for (i=0; i < 6; i++){
gethex[i]=temp[Math.floor(Math.random()*temp.length)];
randhex+=gethex[i];
}
document.bgColor="#"+randhex;
tmr=setTimeout('rbg()',spd)
}
//-->
</script>
</HEAD>
<BODY BGCOLOR="#000000">
<center>
<FORM NAME="f1">
<table width="460" border="1" cellpadding="3" cellspacing="0" bgcolor="#c0c0c0">
<tr>
<td align="center">
<font face="Verdana" size=2 color=#000000>
Renk kodlarini almak icin begendiginiz renk geldiginde kodu ver tusuna tiklarsaniz o rengin kodunu verir
</font>
</td>
</tr>
<tr>
<td height="40">
<select name='speed' style="background:#c0c0c0">
<option value=3000>Hız
<option value=500>0.5 Derece
<option value=1000>1 Derece
<option value=2000 selected>2 Derece
<option value=3000>3 Derece
</select>
<INPUT TYPE="BUTTON" VALUE="Basla / Devamet" onClick="if (!running) rbg()">
<INPUT TYPE="BUTTON" VALUE="Durdur" onClick="window.clearTimeout(tmr);running=false">
<INPUT TYPE="BUTTON" VALUE="Kodunu Ver" onClick="chosen()">
<INPUT TYPE="hidden" SIZE="100" name="b1" value=" ">
</td>
</tr>
</table>
</FORM>
<p>
</center>
<div id="disp" class="text"></div>
</BODY>
</HTML>