Click or drag to resize
Accord.NET (logo)

RGB  Conversion (RGB to HSL)

Performs an explicit conversion from RGB to HSL.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public static explicit operator HSL (
	RGB rgb
)
Request Example View Source

Parameters

rgb
Type: Accord.ImagingRGB
The RGB color.

Return Value

Type: HSL
The result of the conversion.
See Also