def METHOD_NAME(groups_dict):
    """Prepare a list of vg overrides for each group type"""
    groups_colors = {}
    count = sum(
        [len(groups) for groups in groups_dict.values() if len(groups) > 1]
    )
    colors = [DB.Color(x[0], x[1], x[2]) for x in generate_colors(count)]
    color_gray = DB.Color(128, 128, 128)
    j = 0
    for gt_id in groups_dict.keys():
        if len(groups_dict[gt_id]) == 1:
            color = color_gray
        else:
            color = colors[j]
            j += 1
        if HOST_APP.is_newer_than(2019, or_equal=True):
            groups_colors[gt_id] = (
                DB.OverrideGraphicSettings()
                .SetProjectionLineColor(color)
                .SetProjectionLineWeight(6)
                .SetSurfaceBackgroundPatternColor(color)
                .SetCutLineColor(color)
                .SetCutLineWeight(6)
                .SetCutBackgroundPatternColor(color)
            )
        else:
            groups_colors[gt_id] = (
                DB.OverrideGraphicSettings()
                .SetProjectionLineColor(color)
                .SetProjectionLineWeight(6)
                .SetProjectionFillColor(color)
                .SetCutLineColor(color)
                .SetCutLineWeight(6)
                .SetCutFillColor(color)
            )
    return groups_colors