import random


def random_cores(qtd: int = 3):
    """
    Randomly return colors in hexadecimal format according to the requested quantity
    """
    lista = [(210, 180, 140), (139, 69, 19), (244, 164, 96), (85, 107, 47), (0, 255, 0), (102, 205, 170),
             (127, 255, 212),
             (72, 209, 204), (0, 255, 255), (176, 196, 222), (30, 144, 255), (0, 0, 255), (220, 20, 60),
             (255, 105, 180),
             (255, 0, 255), (139, 0, 139), (255, 192, 203), (255, 0, 0), (250, 128, 114), (255, 165, 0), (255, 255, 0)]

    random.shuffle(lista)
    cores = lista[0:qtd]
    resposta = []
    for cor in cores:
        resposta += ['#%02x%02x%02x' % cor]
    return resposta