Macro Language Reference > PIs > Tables > <?tbbgc>
  
<?tbbgc>
Description
Assigns a background color to an entire table, which is drawn behind the cells and any text content. The table background does not include top or bottom captions, or table margins, but does include any gutters.
* 
The table background color will only be visible if individual cells have no color assigned. It will, however, be visible in any column gutters defined for the table since they are included in the definition of "background".
This command can also be specified as <?tbbgcolor>.
 
Example 396. Specify a red background for a table
<?tbbgc=red>
Syntax
<?tbbgc color:c>
color
The required background color of the cell, either in name format e.g. "red" or (r,g,b) format: must be defined in double quotes.
Additional Information
It is possible to override the background colour for an individual cell using the <?tbcbgc> command.
The background colour will fill to the dimensions of the outermost rule defined for the table (or the bounding rectangle if no rules have been defined). Any specified fills within the individual rules will be drawn over the table background.
Related Links