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(3alleg5), al_color_name(3alleg5)