Programmer's Guide > Interfaces > View interface > backgroundColor attribute
  
backgroundColor attribute
The background color of the View.
backgroundColor
Access
read-write
Returns
String
Set throws
WindowException
INVALID_COLOR_ERR: Raised if the DOMString is an unsupported color name or an invalid RGB specification.