color property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the color to be used by the object.
Syntax
HRESULT value = object.put_color(VARIANT v);HRESULT value = object.get_color(VARIANT* p);
Property values
Type: VARIANT
one of the color names or RGB values in the Color Table.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 15.2.2 (Deprecated)
Remarks
Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.
Build date: 6/12/2012