1al_color_html(3) Library Functions Manual al_color_html(3)
23
4
NAME
6al_color_html
7
SYNOPSIS
9#include <allegro5/allegro_color.h>
1011
ALLEGRO_COLOR al_color_html(char const *string)
12
DESCRIPTION
14Interprets an HTML styled hex number (e.g. #00faff) as a color. Com‐
15ponents that are malformed are set to 0.
16
SEE ALSO
18al_color_html_to_rgb(3), al_color_rgb_to_html(3)
1920
21
22
Allegro reference manual al_color_html(3)