initWithDuration(duration, red, green, blue) {
    if (cc.ActionInterval.prototype.initWithDuration.call(this, duration)) {
      this._to = { r: red, g: green, b: blue };
      return true;
    }
    return false;
  }
Initializes the action.
@param {Number} duration
@param {Number} red
@param {Number} green 0-255
@param {Number} blue
@return {Boolean}