---
name: "gui_fg_color"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/gui_fg_color"
---

# gui\_fg\_color(3alleg)

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**(3alleg)](/gui_mg_color/3alleg.md), [**set\_dialog\_color**(3alleg)](/set_dialog_color/3alleg.md), [**exgui**(3alleg)](/exgui/3alleg.md)
