 | 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
Syntaxpublic static Vector3 ToHsl(
AciColor color
)
Request Example
View SourceParameters
- color
- Type: netDxfAciColor
A color.
Return Value
Type:
Vector3A Vector3 where the three coordinates x, y, z represents the hue, saturation, and lightness components (output values range from 0 to 1).
See Also