public Color WithSaturation(double saturation) { var hsb = ToHSB(); return(Color.FromHSB(hsb[0], saturation, hsb [2], hsb[3])); }
public Color WithHue(double hue) { var hsb = ToHSB(); return(Color.FromHSB(hue, hsb [1], hsb [2], hsb[3])); }
public Color WithSaturation(double saturation) { var hsb = ToHSB(); return(Color.FromHSB(hsb[0], saturation, hsb [2], hsb[3])); }
public Color WithHue(double hue) { var hsb = ToHSB(); return(Color.FromHSB(hue, hsb [1], hsb [2], hsb[3])); }