this check could be better now - it could just `return color` inside of an else in the instanceof check
   
    if (!(this instanceof tinycolor)) {
        return new tinycolor(color, opts);
    }
    else {
        return color;
    }