Template:cell bg/documentation

This is a convenience template to produce colored cells in tables. The default color is a dark gray.

Usage
Within a table, place the  template before the cell content, like this:

which results in the following:

Pass the first unnamed parameter to use a custom color:

resulting in: