1 #ifndef GRASS_COLORSDEFS_H 2 #define GRASS_COLORSDEFS_H int G_str_to_color(const char *, int *, int *, int *)
Parse color string and set red,green,blue.
const struct color_name * G_standard_color_name(int)
Get color name.
struct color_rgb G_standard_color_rgb(int)
Get RGB triplet of given color.
int G_num_standard_color_names(void)
Get number of named colors (color names)
int G_num_standard_colors(void)
Get number of named colors (RGB triplets)