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

# PAL\_SIZE(3alleg)

Number of entries in a palette. Allegro game programming library.

## NAME

PAL\_SIZE - Number of entries in a palette. Allegro game programming library.

## SYNOPSIS

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

**#define PAL\_SIZE**

## DESCRIPTION

Preprocessor constant equal to 256.

## SEE ALSO

[**RGB**(3alleg)](/RGB/3alleg.md), [**PALETTE**(3alleg)](/PALETTE/3alleg.md), [**COLOR\_MAP**(3alleg)](/COLOR_MAP/3alleg.md)
