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



ColorToHSI


Unit: SDL_sdlcolors
Class: none
Declaration: procedure ColorToHSI (Color: TColor; var Hue, Sat, Intens: double);

The procedure ColorToHSI transforms the color defined by the parameter Color (RGB color space) into the HSI color space. The variable parameters Hue, Sat, and Intens return the hue (0..360), the saturation (0..1), and the intensity (0..1), respectively.



Last Update: 2019-Jul-19