al_color_hsv

ALLEGRO_COLOR al_color_hsv(float h, float s, float v)
Introduced in 5.0.0

Return an ALLEGRO_COLOR structure from HSV (hue, saturation, value) values.

See also: al_color_hsv_to_rgb, al_color_hsl

Examples: ex_blit


Most helpful discussions: