ImageEn, unit hyieutils

HSV2RGB


Declaration

procedure HSV2RGB(var px: TRGB; H, S, V: Integer);


Description

Converts a HSV values to TRGB.

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
RGB2HSV
TRGB2TColor
TColor2TRGB