TColorPalette.Color Method

function Color(Value: double): TColor;

Returns the color from the current color palette.

Returns: TColor

Remarks:

Returns the color from the color palette to which Value belongs.