TextStyleProperties.setTextColor

Sets the text color, this is equivalent to the CSS color property and any valid value for this CSS property can be used. Setting this property to null removes any existing value. Note that any inherited value from a parent control may still apply.

Examples:

 controls.TEXT1.textColor = "#808080";
 controls.TEXT1.setTextColor("green");
 

Parameters

java.lang.String  textColor,