1al_color_hsv(3)                                                al_color_hsv(3)
2
3
4

NAME

6       al_color_hsv - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_color.h>
10
11              ALLEGRO_COLOR al_color_hsv(float h, float s, float v)
12

DESCRIPTION

14       Return  an ALLEGRO_COLOR(3) structure from HSV (hue, saturation, value)
15       values.
16
17       Parameters:
18
19       • hue - Color hue angle in the range 0..360
20
21       • saturation - Color saturation in the range 0..1
22
23       • value - Color value in the range 0..1
24

SEE ALSO

26       al_color_hsv_to_rgb(3), al_color_hsl(3)
27
28
29
30Allegro reference manual                                       al_color_hsv(3)
Impressum