Click or drag to resize
Accord.NET (logo)

HSLFromRGB Method (RGB)

Convert from RGB to HSL color space.

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

Parameters

rgb
Type: Accord.ImagingRGB
Source color in RGB color space.

Return Value

Type: HSL
Returns HSL instance, which represents converted color value.
See Also