public static void FromRGB( RGB rgb, ref HSL hsl )
Public Shared Sub FromRGB ( rgb As RGB, ByRef hsl As HSL )
See HSL and HSV Wiki for information about the algorithm to convert from RGB to HSL.
Accord.NET Framework © 2009-2017. All documentation is licensed under the Creative Commons Attribution/Share-Alike License.