al_color_html

ALLEGRO_COLOR al_color_html(char const *string)
Introduced in 5.0.0

Interprets an HTML styled hex number (e.g. #00faff) as a color. Components that are malformed are set to 0.

See also: al_color_html_to_rgb, al_color_rgb_to_html


Most helpful discussions: