---
name: "RGB_MAP"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://carta.tech/man/RGB_MAP"
---

# RGB\_MAP(3alleg)

Stores an rgb map to accelerate conversions. Allegro game programming library.

## NAME

RGB\_MAP - Stores an rgb map to accelerate conversions. Allegro game programming library.

## SYNOPSIS

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

**typedef struct RGB\_MAP**

## DESCRIPTION

```
   unsigned char data[32][32][32];
```

Read chapter "Converting between color formats" for a description on how to obtain/use this structure.

## SEE ALSO

[**create\_rgb\_table**(3alleg)](/man/create_rgb_table/3alleg.md), [**ex3d**(3alleg)](/man/ex3d/3alleg.md), [**excolmap**(3alleg)](/man/excolmap/3alleg.md), [**exrgbhsv**(3alleg)](/man/exrgbhsv/3alleg.md), [**exshade**(3alleg)](/man/exshade/3alleg.md), [**extrans**(3alleg)](/man/extrans/3alleg.md)
