1al_is_color_valid(3) al_is_color_valid(3)
23
4
NAME
6al_is_color_valid - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro_color.h>
10
DESCRIPTION
12Checks if all components of the color are between 0 and 1. Some of the
13color conversions in this addon support color spaces with more colors
14than can be represented in sRGB and when converted to RGB will result
15in invalid color components outside the 0..1 range.
16
SINCE
185.2.3
1920
21
22
Allegro reference manual al_is_color_valid(3)