Converts a RGB color to a HLS color.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static XColorUtility..::.ColorAHLS ToAHLS(
	Color color
)

Parameters

color
Type: System.Drawing..::.Color
A color in the RGB color model.

Return Value

A color in the HLS color model.

See Also