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.... |
Home BasePack SDLColors Procedures and Functions HSLtoRGB | |||||||
See also: RGBtoHSL, ColorToHSL, HSLtoColor | |||||||
HSLtoRGB |
|||||||
The function HSLtoRGB 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 (red/green/blue) color space. The variable parameters r, g, and b return the red, green, and blue values, respectively.
|