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

# set\_dialog\_color(3alleg4)

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**(3alleg4), **gui\_mg\_color**(3alleg4), **centre\_dialog**(3alleg4), **exgui**(3alleg4)
