|
COPY CODE BELOW:
<table border="5" bordercolor="white" align="center"Width="700" bgcolor="darkgreen"><td><td align="center">
<table border="5" bordercolor="green" align="center"Width="690" bgcolor="white">
<td align="center"><font color="black"><B>Click to be prompted. Then
enter a color name, or a hexadecimal code to convert. The result: a bgcolor change corresponding to color entered, and the hexadecimal equivalent of the color name.</B></font>
<CENTER>
<FORM><INPUT onclick="var hc = prompt('Type color name. Click to convert to hex #.');
document.bgColor=hc;
alert(document.bgColor)" type=button value="CLICK TO CONVERT COLOR NAME TO HEX OR HEX TO COLOR NAME."borderimage="file://rom/borders/buttonborder5.bif" text="#ffffff">
</FORM></CENTER></td></tr></table></td></tr></table>