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

# default\_palette(3alleg4)

The default IBM BIOS palette. Allegro game programming library.

## NAME

default\_palette - The default IBM BIOS palette. Allegro game programming library.

## SYNOPSIS

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

**extern PALETTE default\_palette;**

## DESCRIPTION

The default IBM BIOS palette. This will be automatically selected  whenever you set a new graphics mode. The palette contains 16 basic colors plus many gradients between them. If you want to see the values, you can write a small Allegro program which saves a screenshot with this palette, or open the grabber tool provided with Allegro and create a new palette object, which will use this palette by default.

## SEE ALSO

**black\_palette**(3alleg4), **desktop\_palette**(3alleg4), **exjoy**(3alleg4)
