Scroll to navigation

al_color_html_to_rgb(3alleg5) Allegro reference manual() al_color_html_to_rgb(3alleg5) Allegro reference manual()

NAME

al_color_html_to_rgb - Allegro 5 API

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.

SEE ALSO

al_color_html(3alleg5), al_color_rgb_to_html(3alleg5)