Click or drag to resize

AciColorToHsl Method (AciColor, Double, Double, Double)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values.

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

Parameters

color
Type: netDxfAciColor
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