VML FillColor Attribute

This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.

Note

As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.

 

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.)