Click or drag to resize

AciColorToHsl Method (AciColor)

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 Vector3 ToHsl(
	AciColor color
)
Request Example View Source

Parameters

color
Type: netDxfAciColor
A color.

Return Value

Type: Vector3
A Vector3 where the three coordinates x, y, z represents the hue, saturation, and lightness components (output values range from 0 to 1).
See Also