[Tex/LaTex] How to fill table cells with a background color


I'd like to fill the cells of a table with a background color. How can this be done?

Best Answer

The xcolor provides support for coloring table rows in a variety of patterns. The colortbl can color rows, columns, cells and rules.

There is a nice article by Lapo Filippo Mori in the PracTeX Journal that describes the usage of both packages. Scroll down to section 4.