RGB.ToHSLMethod in RGBDeclarationpublic HSL ToHSL()DescriptionConverts the components to HSL components.ReturnsHSLThe converted HSL components.