"None at the moment, but just trying to see how this could be done really. you can auto change the colors of rows via css and js, but then, when you view a page that is as a result of php includes, the colors then go back to their original color."
Which... says to me "There exists a page which this code runs on"... because in order to know that it doesnt work, you have to have had a page in which it has done so.
Unless you're just absolutely GUESSING that the page wont work, in which case you're asking about a problem you dont have.
In either case, i'm done with this thread until you actually have a page you're trying to fix.