Click or drag to resize

AciColorToHsl Method (AciColor, Double, Double, Double)

Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static void ToHsl(
	AciColor color,
	out double hue,
	out double saturation,
	out double lightness
)

Parameters

color
Type: DXFReaderNETAciColor
A color.
hue
Type: SystemDouble
Hue (output values range from 0 to 1).
saturation
Type: SystemDouble
Saturation (output values range from 0 to 1).
lightness
Type: SystemDouble
Lightness (output values range from 0 to 1).
See Also