---
name: "set_dialog_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/set_dialog_color"
---

# set\_dialog\_color(3alleg)

Sets the colors of an array of dialog objects. Allegro game programming library.

## NAME

set\_dialog\_color - Sets the colors of an array of dialog objects. Allegro game programming library.

## SYNOPSIS

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

**void set\_dialog\_color(DIALOG \*dialog, int fg, int bg);**

## DESCRIPTION

Sets the foreground and background colors of an array of dialog objects.

## SEE ALSO

[**gui\_fg\_color**(3alleg)](/gui_fg_color/3alleg.md), [**gui\_mg\_color**(3alleg)](/gui_mg_color/3alleg.md), [**centre\_dialog**(3alleg)](/centre_dialog/3alleg.md), [**exgui**(3alleg)](/exgui/3alleg.md)
