/// <summary> /// Converts the specified <see cref="HslColor"/> to a RGB color. /// </summary> /// <param name="hsl">The instance of <see cref="HslColor"/> to be converted.</param> /// <param name="red">The amount of red in the RGB color.</param> /// <param name="green">The amount of green in the RGB color.</param> /// <param name="blue">The amount of blue in the RGB color.</param> public static void HslToRgb(HslColor hsl, out int red, out int green, out int blue) { HslToRgb(hsl.Hue, hsl.Saturation, hsl.Lightness, out red, out green, out blue); }