/// <summary>
		/// Converts HSL to .net Color.
		/// </summary>
		/// <param name="hsl">The HSL structure to convert.</param>
		public static Color HSLtoColor(HSL hsl)
		{
			return HSLtoColor(hsl.Hue, hsl.Saturation, hsl.Luminance);
		}
示例#2
0
 /// <summary>
 /// Converts HSL to .net Color.
 /// </summary>
 /// <param name="hsl">The HSL structure to convert.</param>
 public static Color HSLtoColor(HSL hsl)
 {
     return(HSLtoColor(hsl.Hue, hsl.Saturation, hsl.Luminance));
 }
		/// <summary>
		/// Converts HSL to RGB.
		/// </summary>
		/// <param name="hsl">The HSL structure to convert.</param>
		public static RGB HSLtoRGB(HSL hsl)
		{
			return HSLtoRGB(hsl.Hue, hsl.Saturation, hsl.Luminance);
		}
示例#4
0
 /// <summary>
 /// Converts HSL to RGB.
 /// </summary>
 /// <param name="hsl">The HSL structure to convert.</param>
 public static RGB HSLtoRGB(HSL hsl)
 {
     return(HSLtoRGB(hsl.Hue, hsl.Saturation, hsl.Luminance));
 }