Aqui tengo otras de las cosas que probé... quizás le sirva a alguien...Aiozz
Código HTML:
<html>
<head><title>Paleta de Colores...</title>
<script language='JavaScript'>
function pintarTabla(cb){
var indice = cb.options.selectedIndex;
var color= cb.options[indice].text;
document.getElementById('miLabel').style.background=color;
}
function setColor(col){
document.getElementById('miLabel').value=col;
}
function Cursor(celda){
celda.style.cursor='hand';
}
var A=new Array("00","33","66","99","CC","FF");
var texto="<table>";
var col="";
for(i=0;i<6;i++){texto+="<tr>";
for(j=0;j<6;j++){
for(k=0;k<6;k++){
col="#"+A[i]+A[j]+A[k];
texto +="<td bgcolor='"+col+"'onMouseOver=setColor('"+col+"') onMouseMove=Cursor(this)> </td>";
}
}
}
texto+="</table>";
document.write(texto);
</script>
</head>
<body>
<div id="aqui">
<input type="text" id="miLabel" />
</div>
</body>
</html>
Espero sea de utilidad...