Allegro 5 api
#include <allegro5/allegro_color.h> void al_color_html_to_rgb(char const *string, float *red, float *green, float *blue)
Interprets an HTML styled hex number (e.g. #00faff) as a color. Components that are malformed are set to 0.
al_color_html(3alleg5), al_color_rgb_to_html(3alleg5)