labelbgcolor

Defines the background color for the label specified in the label option.

Syntax

   <labelbgcolor>color</labelbgcolor>
Table 1. labelbgcolor
Parameter Type Description
color special The color may be expressed in any of the following formats:
  • Comma-separated RGB values. For example: 192,192,192
  • Hexadecimal-based RGB values. For example: #336699
  • Color name. For example: blue

Available in

check, checkgroup, combobox, field, list, pane, radio, radiogroup, slider

Examples

These samples all set the background color to red.

   <labelbgcolor>red</labelbgcolor>
   <labelbgcolor>255,0,0</labelbgcolor>
   <labelbgcolor>#FF0000</labelbgcolor>

Usage details

  1. Default: transparent

    This means that a label option will always be transparent unless a color is specified (if no color is specified, the label background color will be the same as the page background color or an underlying box, if there is one).