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



HSVtoRGB


Unit: SDL_sdlcolors
Class: none
Declaration: procedure HSVtoRGB (Hue, Sat, Value: double; var r, g, b: integer);

The function HSVtoRGB transforms a color defined in the HSV (hue/saturation/value) color space by the parameters Hue (valid range: 0..360), Sat (saturation, valid range: 0..1), and Value (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.



Last Update: 2020-Aug-12