---
name: "gui_fg_color"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gui_fg_color/3alleg4"
---

# gui\_fg\_color(3alleg4)

The foreground and background colors for the standard dialogs. Allegro game programming library.

## NAME

gui\_fg\_color, gui\_bg\_color - The foreground and background colors for the standard dialogs. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**extern int gui\_fg\_color;**

**extern int gui\_bg\_color;**

## DESCRIPTION

The foreground and background colors for the standard dialogs (alerts,  menus, and the file selector). They default to 255 and 0.

## SEE ALSO

**gui\_mg\_color**(3alleg4), **set\_dialog\_color**(3alleg4), **exgui**(3alleg4)
