ciao pietro09,

hai provato ad impostare la proprietà a stringa vuota?
codice:
riga.style.backgroundColor = "";