def get_fp_color(n, col_set=1):
    """
    Get the color of a fixed point given
    the number of unstable modes

    Arguments:
        n (int): number of unstable modes
        col_set (int): which colors set to use

    Returns:
        color (str)
    """
    if n == 0:
        color = "seagreen" if col_set == 1 else "lightseagreen"
    elif n == 1:
        color = "salmon" if col_set == 1 else "lightsalmon"
    elif n == 2:
        color = "skyblue" if col_set == 1 else "deepskyblue"
    else:
        color = "magenta" if col_set == 1 else "purple"

    return color