all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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:
© 2014 Microsoft