The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_sdlcolors
Class: none
Declaration: function ObtainColorName (Cl: TColor): string;

The function ObtainColorName searches the array AllSDLColors for a match with the parameter cl and returns the name of the color if there is a match, or the 8-digit hexadecimal color string if there is no match.

Last Update: 2017-Okt-11