shouldn't this be

    return 'color: \'' + this.get('name') + '\';';

or

    return "color: '" + this.get("name") + "';";