VML IVgColor

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.

Specifies a color.

Attributes Description
String String. Text representation of the color. The following named color types are supported:
  • Black (#000000)
  • Silver (#C0C0C0)
  • Gray (#808080)
  • White (#FFFFFF)
  • Maroon (#800000)
  • Red (#FF0000)
  • Purple (#800080)
  • Fuchsia (#FF00FF)
  • Green (#008000)
  • Lime (#00FF00)
  • Olive (#808000)
  • Yellow (#FFFF00)
  • Navy (#000080)
  • Blue (#0000FF)
  • Teal (#008080)
  • Aqua (#00FFFF)
Type VgColorType. Type of color. One of the following types:
  • Mixed
  • RGB
  • Scheme
  • Named
RGB VgRGBType. RGB value (Long) of the color. Only valid if Type is "RGB".
R Integer. Red component of the color. Can range between 0 and 255.
G Integer. Green component of the color. Can range between 0 and 255.
B Integer. Blue component of the color. Can range between 0 and 255.

Send comments about this topic to Microsoft

Build date: 2/7/2012