Convert from RGB to HSL color space.
Namespace:
AForge.ImagingAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
Parameters
- rgb
- Type: AForge.Imaging..::.RGB
Source color in RGB color space.
- hsl
- Type: AForge.Imaging..::.HSL
Destination color in HSL color space.
Remarks
See HSL and HSV Wiki for information about the algorithm to convert from RGB to HSL.