Arch manual pages

al_color_rgb_to_name(3) al_color_rgb_to_name(3)

al_color_rgb_to_name - Allegro 5 API


#include <allegro5/allegro_color.h>
char const *al_color_rgb_to_name(float r, float g, float b)

    

Given an RGB triplet with components in the range 0..1, find a color name describing it approximately.

al_color_name_to_rgb(3), al_color_name(3)
Allegro reference manual