1 out of 1 rated this helpful - Rate this topic

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.

Remarks

Change this property before the document is rendered to change the displayed color. The default foreground color is browser-specific.

See also

document
Reference
color
text

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.