/// <summary> /// Adds hue using HSL conversion /// </summary> public static Color AddHue(this Color color, double value) { ColorHsl hslColor = color.ToHsl(); return(hslColor.Add(value, 0, 0).ToColor()); }
/// <summary> /// Adds saturation using HSL conversion /// </summary> public static Color AddSaturation(this Color color, double value) { ColorHsl hslColor = color.ToHsl(); return(hslColor.Add(0, value, 0).ToColor()); }
/// <summary> /// Adds luminance using HSL conversion /// </summary> public static Color AddLuminance(this Color color, double value) { ColorHsl hslColor = color.ToHsl(); return(hslColor.Add(0, 0, value).ToColor()); }