The txbgcolor attribute determines the color of the immediate background behind the text displayed on the screen.
or
/ txbgcolor = (transparent)or
/ txbgcolor = color nameor
/ txbgcolor = 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 immediate background is the rectangular region of the screen spanned by text when presented. If the value is set to transparent, the immediate text background color is transparent.
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>