def remove_color(obj):
    """
    Remove coloration of given object.
    
    Parameters
    ----------
    obj : {string type}
           The object from which to remove the color
    
    Return
    ------
    {string type}
    Object without color
    """
    if '\\textcolor{' not in obj:
        return obj
    to_find = '\\textcolor{'
    before_color = obj[:obj.find(to_find)]
    after_color = obj[obj.find('textcolor') + 10:]
    no_color = after_color[after_color.find('{') + 1:].replace('}', '', 1)
    return before_color + no_color
