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

# COLOR\_MAP(3alleg)

Stores a color map to accelerate drawing. Allegro game programming library.

## NAME

COLOR\_MAP - Stores a color map to accelerate drawing. Allegro game programming library.

## SYNOPSIS

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

**typedef struct COLOR\_MAP**

## DESCRIPTION

```
   unsigned char data[PAL_SIZE][PAL_SIZE];
```

Read chapter "Transparency and patterned drawing", section "256-color transparency" for a description on how to obtain/use this structure.

## SEE ALSO

[**color\_map**(3alleg)](/color_map/3alleg.md), [**ex3d**(3alleg)](/ex3d/3alleg.md), [**excolmap**(3alleg)](/excolmap/3alleg.md), [**exlights**(3alleg)](/exlights/3alleg.md), [**exshade**(3alleg)](/exshade/3alleg.md), [**extrans**(3alleg)](/extrans/3alleg.md)
