PROPERTY:  Document::bgColor

ocument.bgColor = "colorinfo"

This property defines a document's background color. The "colorinfo" argument is a string that can contain either the hexadecimal definition of the color or it's literal description. If you use the hex definition of a color it must be in the format rrggbb - for example, the hex value for the named color 'forest green' is '228B22'.

Both lines in the follwing code do exactly the same thing, the first using the hex value of a color and the second using it's name.

Code:
document.bgColor = "228B22"
document.bgColor = "forestgreen"

Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information