Declaration
procedure RGB2HSV(RGB: TRGB; var h, s, v: Integer);
Description
Converts a TRGB color to HSV values.
H (Hue) is from 0 to 359 (corresponding to 0..359 degrees around a hexcone).
S (Saturation) is from 0 (shade of gray) to 99 (pure color).
V (Value) is from 0 (black) to 99 (white).
See Also
◼CreateRGB◼HSV2RGB◼TRGB2TColor◼TColor2TRGB