al_color_html(3)

NAME

al_color_html - Allegro 5 API

SYNOPSIS

    #include <allegro5/allegro_color.h>
    ALLEGRO_COLOR al_color_html(char const *string)

DESCRIPTION

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(3), al_color_rgb_to_html(3)