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 HSLtoColor (Hue, Sat, Lum: double): TColor;

The function HSLtoColor transforms a color defined in the HSL (hue/saturation/luminosity) color space by the parameters Hue (valid range: 0..360), Sat (saturation, valid range: 0..1), and Lum (luminosity, valid range: 0..1) into the RGB color space and returns it as a TColor value.

Last Update: 2020-Aug-12