code: function(o) {
              if (!o) {
                  return object(color);
              }
  
              for (var i = 0, j = registered_models.length; i < j; i++) {
                  var nu = registered_models[i].fromObject(o);
                  if (nu) {
                      return nu;
                  }
              }
  
              return object(color);
          }
docs: /* fromObject takes an argument and delegates to the internal
  color models to try to create a new instance.