Click or drag to resize

AciColorFromHsl Method (Double, Double, Double)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Converts HSL (hue, saturation, lightness) value to an AciColor.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public static AciColor FromHsl(
	double hue,
	double saturation,
	double lightness
)
Request Example View Source

Parameters

hue
Type: SystemDouble
Hue (input values range from 0 to 1).
saturation
Type: SystemDouble
Saturation percentage (input values range from 0 to 1).
lightness
Type: SystemDouble
Lightness percentage (input values range from 0 to 1).

Return Value

Type: AciColor
An AciColor that represents the actual HSL value.
See Also