You can use a script to loop through all of the fields of a form and set the text color, background color, or border color. Post again of you need help with the loop code.
If you use hierarchical field naming, you can affect more than one field with a single statement. For example, to set the background color of all fields that being with "GROUP1.", you could do:
getField("GROUP1").fillColor = color.green;