ALLEGRO_COLOR man page

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) et al. and al_unmap_rgb(3) et al. to translate from and to various color representations.

Referenced By

al_clear_to_color(3), al_color_cmyk(3), al_color_hsl(3), al_color_hsv(3), al_color_name(3), al_color_rgb_to_html(3), al_color_yuv(3), al_convert_mask_to_alpha(3), al_draw_pixel(3), al_get_pixel(3), ALLEGRO_PRIM_ATTR(3), ALLEGRO_VERTEX(3), al_map_rgb(3), al_map_rgba(3), al_map_rgba_f(3), al_map_rgb_f(3), al_put_blended_pixel(3), al_put_pixel(3), al_unmap_rgba(3), al_unmap_rgba_f(3), al_unmap_rgb_f(3).

Allegro reference manual