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

# default\_palette(3alleg)

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**(3alleg)](/black_palette/3alleg.md), [**desktop\_palette**(3alleg)](/desktop_palette/3alleg.md), [**exjoy**(3alleg)](/exjoy/3alleg.md)
