|
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
)
Public Shared Function FromRGB (
rgb As RGB
) As HSL
Request Example
View SourceParameters
- rgb
- Type: Accord.ImagingRGB
Source color in RGB color space.
Return Value
Type:
HSLReturns
HSL instance, which represents converted color value.
See Also