... così:

codice:
<td id="cella1">

document.getElementById('cella1').bgColor='#CCCCCC';
Ciao !