---
name: "ALLEGRO_COLOR"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ALLEGRO_COLOR/3alleg5"
---

# ALLEGRO\_COLOR(3alleg5)

Allegro 5 API

## NAME

ALLEGRO\_COLOR - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  typedef struct ALLEGRO_COLOR ALLEGRO_COLOR;
  ```

## DESCRIPTION

An ALLEGRO\_COLOR structure describes a color in a device independent way. Use al\_map\_rgb(3alleg5) et al. and al\_unmap\_rgb(3alleg5) et al. to translate from and to various color representations.
