ONECOLOR.installMethod('negate', function () { var rgb = this.rgb(); return new ONECOLOR.RGB(1 - rgb._red, 1 - rgb._green, 1 - rgb._blue, this._alpha); });