The txcolor attribute specifies the foreground color in which text is displayed.
<caption> <checkboxes> <clock> <defaults> <dropdown> <image> <listbox> <radiobuttons> <slider> <slidertrial> <text> <textbox>
or
/ txcolor = color nameor
/ txcolor = color valuered value | An integer from 0 to 255 specifying the intensity of the red component. |
green value | An integer from 0 to 255 specifying the intensity of the green component. |
blue value | An integer from 0 to 255 specifying the intensity of the blue component. |
color name | The name of a built in color. |
color value | A 32-bit argb value specified as in integer or a CSS hex value (e.g., #0000FF or #00F for blue). |
The default color is black.
The following presents white text on a blue background:
<text sometext>
/ items = ("inquisit rocks")
/ txcolor = (0, 0, 255)
/ txbgcolor = (255, 255, 255)
</text>
The following presents purple text on a black background:
<text sometext>
/ items = ("inquisit rocks")
/ txcolor = (255, 0, 255)
/ txbgcolor = (0, 0, 0)
</text>