1al_color_xyy(3)                                                al_color_xyy(3)
2
3
4

NAME

6       al_color_xyy - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_color.h>
10
11              ALLEGRO_COLOR al_color_xyy(float x, float y, float y2)
12

DESCRIPTION

14       Return  an ALLEGRO_COLOR(3) structure from xyY values.  The Y component
15       in the xyY color space is the same as the Y in XYZ.
16
17       However the x and y values are computed from XYZ like this:
18
19              x = X / (X + Y + Z)
20              y = Y / (X + Y + Z)
21

SINCE

23       5.2.3
24

SEE ALSO

26       al_color_xyy_to_rgb(3), al_color_rgb_to_xyy(3)
27
28
29
30Allegro reference manual                                       al_color_xyy(3)
Impressum