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