def METHOD_NAME(usercfg):
    """Get tab coloring theme from settings"""
    tabcfgs = _get_tabcoloring_cfgs(usercfg)
    theme = types.TabColoringTheme()
    theme.SortDocTabs = _get_sort_colorize_docs(tabcfgs)
    theme.TabStyle = _get_tabstyle(tabcfgs)
    theme.FamilyTabStyle = _get_family_tabstyle(tabcfgs)
    theme.TabOrderRules = _get_tab_orderrules(tabcfgs)
    theme.TabFilterRules = _get_tab_filterrules(tabcfgs)
    return theme