Programmer's Guide > Interfaces > View interface > foregroundColor attribute
  
foregroundColor attribute
The foreground color of the View.
foregroundColor
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.