Click or drag to resize

AciColorToHsl Method (AciColor)

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 Vector3 ToHsl(
	AciColor color
)

Parameters

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