ImageEn, unit iexUtils

HSVToColor

HSVToColor

Declaration

function HSVToColor(h, s, v: Integer): TColor;

Description

Converts HSV values to a TColor.

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