farve script
HejJeg vil gerne høre om man ved hjælp af flere forskellige farver kan finde frem til en bestemt farve og lægge den som baggrund.
Jeg har fundet et eksempel på nettet som ligner det som jeg gerne vil frem til http://www. psyclops.com/tools/rgb/
her er et eksempel
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny side 2</title>
</head>
<body>
<p> </p>
<div align="center">
<center>
<table border="1" width="53%" cellspacing="1" style="border: 0 solid #000000" bgcolor="#000000" height="351">
<tr>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font face="Arial,Helvetica,sans-serif" color="#FFFF00">G</font></B><br>
<B><INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + "></B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font face="Arial,Helvetica,sans-serif" color="#FF9933">O</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B> <INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font face="Arial,Helvetica,sans-serif" color="#FF66CC">P</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B> <INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><b><font face="Arial,Helvetica,sans-serif" color="#00FFFF">T</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </b><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
</tr>
<tr>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font face="Arial,Helvetica,sans-serif" color="#00FF00">G</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><b><font face="Arial,Helvetica,sans-serif" color="#800000">B</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </b><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B> <INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font face="Arial,Helvetica,sans-serif" color="#008000">G</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B> <INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font face="Arial,Helvetica,sans-serif" color="#0000FF">B</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5">
<B> <INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
</tr>
<tr>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><FONT face="Arial,Helvetica,sans-serif" color="#996633">R</FONT>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><FONT face="Arial,Helvetica,sans-serif" color="#CC6699">R</FONT>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - ">
</B><!--webbot bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font face="Arial,Helvetica,sans-serif" color="#FFFFFF">H</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B> <INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><font color="#FFFF66"><FONT face="Arial,Helvetica,sans-serif">R</FONT>
<br>
</font><INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
</tr>
<tr>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><B><FONT face="Arial,Helvetica,sans-serif" color="#FF0000">R</FONT>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </B><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><b><font face="Arial,Helvetica,sans-serif" color="#FF6600">O</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - ">
</b><!--webbot bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><b><font face="Arial,Helvetica,sans-serif" color="#3333FF">P</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </b><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
<td width="12%" align="center" bgcolor="#E2E2E2" height="64"><b><font face="Arial,Helvetica,sans-serif" color="#CC33FF">L</font>
<br>
<INPUT type="button" onClick="reduceVal('R')" value=" - "> </b><!--webbot
bot="Validation" B-Value-Required="TRUE" --><INPUT type="text" name="hexR" size="5"><B>
<INPUT type="button" onClick="increaseVal('R')" value=" + ">
</B>
</td>
</tr>
<tr>
<td width="48%" align="center" bgcolor="#E2E2E2" colspan="4" height="65"><INPUT type="button" value=" Display " onclick="convert2Dec(document.converter.hexR.value,document.converter.hexG.value,document.converter.hexB.value,'')">
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
God lørdag til alle
