---
name: "ALLEGRO_COLOR"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ALLEGRO_COLOR"
---

# ALLEGRO\_COLOR(3)

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(3)](/al_map_rgb/3.md) et al. and [al\_unmap\_rgb(3)](/al_unmap_rgb/3.md) et al. to translate from and to various color representations.
