SYNOPSIS

  • #include <allegro5/allegro_color.h>
    
    void al_color_html_to_rgb(char const *string,
       float *red, float *green, float *blue)
    
    

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_to_rgb…

al_color_html(3alleg5), al_color_rgb_to_html(3alleg5)