### 2.5.3 Options for Setting Foreground/Background Color

Each widget has a background color and a foreground color. The background color is used to fill the background of the widget window. The foreground color is used to color the label of a widget, if applicable.

- EZ_BACKGROUND This option sets the background color for a widget and the background color of all its descendants. Valid values are the symbolic color names in X server's data base. The default is "`gray`". For each background color, EZwgl allocate 3 extra colors, a highlight color, a dark color and a bright color. Configured background will be honored only if EZwgl can allocate all 4 colors.

- EZ_FOREGROUND This option sets the foreground color of a widget. The default value is "`black`". Unlike background color, foreground color does not affect the foreground colors of children widgets.

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`