dblatex bgcolor

# `dblatex `bgcolor``

Sets the Background Color of A Table Element

    <?dblatex bgcolor="#00FF00"?>
    <?dblatex bgcolor="{blue}"?>
    <?dblatex bgcolor="[gray]{0.8}"?>

## Description

Set the background color of a table element. The color of a child element is inherited from its parent, with the exception of the color of row cells. These have a color which is inherited from the column in which they appear so long as no color is specified for the row. How the color is set, whether by attribute or by processing instruction, does not matter.

The default is the value of the table's `bgcolor` attribute, or white when not otherwise specified.

## Context

Recognized in the following elements HTML table elements have attributes which allow color to be specified. :

- `col`
- `colgroup`
- `entry`
- `entrytbl`
- `row`

## See Also

- See