import random


def get_random_color(seed):
    """
    Return a random color using a seed.

    Used by all material creating, and viewport color functions
    that do not use textures, to have a common color accross dccs

    Args:
        seed (str):

    Returns:
        tuple, R,G,B colors.

    """
    random.seed(seed + "_r")
    color_red = random.uniform(0, 1)
    random.seed(seed + "_g")
    color_green = random.uniform(0, 1)
    random.seed(seed + "_b")
    color_blue = random.uniform(0, 1)
    return color_red, color_green, color_blue