FillColor Attribute

HTML (DHTML)

FillColor Attribute

Internet Development Index

Defines the brush color that fills the closed path of a shape. Read/write IVgColor.

Applies To

Shape

Tag Syntax

<v:element fillcolor="expression">

Script Syntax

element.fillcolor="expression"

expression=element.fillcolor

Remarks

The FillColor value is duplicated from the Color attribute of the Fill element.

VML Standard Attribute

See Also

Shape, Fill, IVgColor

Example

The fill color of the rectangle is red.

   <v:rect id=myrect fillcolor="red"
   style="position:relative;top:1;left:1;width:20;height:20">
   </v:rect>

FillColor Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)