document.backgroundColor

#### Availability

Flash MX 2004.

#### Usage

document.backgroundColor

#### Description

Property; the color of the background, in one of the following formats:

- A string in the format "#RRGGBB" or "#RRGGBBAA"

- A hexadecimal number in the format 0xRRGGBB

- An integer that represents the decimal equivalent of a hexadecimal number

#### Example

The following example sets the background color to black:

javascript
fl.getDocumentDOM().backgroundColor = '#000000';