code: function asRGB(color, bw) {
          color = toRgbArray(color);
          var list = bw
              ? invertToBW(color, bw, true)
              : color.map(function (c) { return 255 - c; });
          return toRGB(list);
      }
docs: Generates inverted (opposite) version of the given color, as a RGB object.
  @alias invert.asRgbObject
  @param {Color} color - Color to be inverted.
  @param {BlackWhite|boolean} [bw] - Whether to amplify the inversion to
  black or white. Provide an object to customize black/white colors.
  @returns {RGB} - RGB object representation of the inverted color.