Hola renton!
Asi sin pensarlo mucho la forma sencilla es recorrer todos los textboxes, mirar que color tienen y cambiarselo a los que tengan #a2a2a2.
Mas o menos sería:
Código PHP:
for (i=0; next=document.forms[0].elements[i]; i++)
{
if(next.type == "text" && next.style.backgroundColor == "#a2a2a2")
next.style.backgroundColor = "#000000"
}
Prueba a ver que tal