fgColor
all
alt
ch
dir
id
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

fgColor property

Sets or gets the foreground (text) color of the document.

Syntax

JavaScript

p = object.fgColor

 

Property values

Type: Variant

one of the color names or values in the Color Table.

#000000

Default value.

See also

document
Reference
color
text

 

 

Show:
© 2016 Microsoft