SYNOPSIS

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

DESCRIPTION

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

RELATED TO al_color_rgb_to_name…

al_color_name_to_rgb(3alleg5), al_color_name(3alleg5)