onmouseover="colori(this)"

function colori(obj){
document.prova.colore.value=obj.style.backgroundCo lor;
}

ciao