---
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://new.carta.tech/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)](/create_rgb_table/3alleg.md), [**ex3d**(3alleg)](/ex3d/3alleg.md), [**excolmap**(3alleg)](/excolmap/3alleg.md), [**exrgbhsv**(3alleg)](/exrgbhsv/3alleg.md), [**exshade**(3alleg)](/exshade/3alleg.md), [**extrans**(3alleg)](/extrans/3alleg.md)
