ImageEn, unit iexUtils

IERGBToHSV

IERGBToHSV

Declaration

procedure IERGBToHSV(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
IEHSVToRGB
IERGBToColor
IEColorToRGB