color(value)
Class: List. Method inherited from UIComponent.
Description:
Sets or gets a foreground color of component (usually text color).
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
Three formats are acceptable, regular RGB "#FF0000", with alpha RGBA "#FF000050", and "transparent" string, which is equivalent to "#00000000". |
Returns:
Returns color value if no argument is set, otherwise returns this component.
Type: string | this
