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....



ContrastBWColor


Unit: SDL_sdlcolors
Class: none
Declaration: function ContrastBWColor (Color: TColor): TColor;

The function ContrastBWColor returns either clblack or clwhite depending on the parameter Color. The returned color provides the greatest contrast to the color given the parameter Color.



Last Update: 2023-Oct-08