public static Color ModifySaturation(Color c, double Saturation) { HSB hsb = RGB.ToHSB(c); hsb.Saturation *= Saturation; return(hsb.ToColor()); }
public static Color ModifyBrightness(Color c, double brightness) { HSB hsb = RGB.ToHSB(c); hsb.Brightness *= brightness; return(hsb.ToColor()); }
public static Color ModifyHue(Color c, double Hue) { HSB hsb = RGB.ToHSB(c); hsb.Hue *= Hue; return(hsb.ToColor()); }