all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

color attribute | color property

Sets or retrieves the color to be used by the object.

Syntax

HTML<element color="p" ... >
JavaScript

p = object.color

Property values

Type: Variant

one of the color names or RGB values in the Color Table.

Standards information

Remarks

Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.

See also

hr

 

 

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.