fillColor

The background color value for this field.

A fill color must be defined before you can change the color.

Syntax

Reference_Syntax.fillColor = "[0-255], [0-255], [0-255]"

Values

Type

Values

String

For the color-space of SRGB, the component values must be r,g,b, where r is the red component value, g is the green component value, and b is the blue component value. Each component value must be in the range 0 through 255, inclusive. 255 represents maximum display intensity. For example, 255,0,0 specifies the color red.

The default is dependent upon the context of where the color is used; the default color is determined by the object enclosing the color object.

Applies to

Version

XFA 2.1

Examples

JavaScript

TextField1.fillColor = "150,130,33";

FormCalc

TextField1.fillColor = "150,130,33"

// Ethnio survey code removed