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.

RELATED TO al_color_html…

al_color_html_to_rgb(3alleg5), al_color_rgb_to_html(3alleg5)