Functions | |
void | Show_Color_Name (const char *color, char *definition) |
Shows the definition of a color. More... | |
void Show_Color_Name | ( | const char * | color, |
char * | definition | ||
) |
Shows the definition of a color.
color | - Any previously defined color (including the standard colors). Passed by reference always. |
definition | - The definition of color. Returned to user. Passed by reference always. |
This routine is used to find out the definition of a color. It returns the exact string used to define the color, which might have been RGB values, HSL values, or relative to an existing color.
It might be used to allow a program to determine the precise value of a color that the user has entered by name.