Table of Contents

THSLColor.Create Method

Overloads

THSLColor.Create(TUIColor)

Creates a new instance from a system color.

Syntax

Unit: FlexCel.Core

class function THSLColor.Create(const rGBColor: TUIColor): THSLColor; static; overload;

Parameters

<-> Parameter Type Description
const rGBColor TUIColor

See also

THSLColor.Create(TColor)

Creates a new instance from a system color.

Syntax

Unit: FlexCel.Core

class function THSLColor.Create(const rGBColor: TColor): THSLColor; static; overload;

Parameters

<-> Parameter Type Description
const rGBColor TColor

See also

THSLColor.Create(Double, Double, Double)

Creates a Color from the hue, saturation and luminescence.

Syntax

Unit: FlexCel.Core

class function THSLColor.Create(aHue: Double; aSat: Double; aLum: Double): THSLColor; static; overload;

Parameters

<-> Parameter Type Description
aHue Double Hue for the color
aSat Double Saturation for the color.
aLum Double Luminescence for the color.

See also