def calculate_brightness(brightness=1, color_code=[255, 255, 255]):
    """Given a color code (array of three int where 0 =< int =< 255),
    we put the brightness multiplicator on it"""
    return [round(nb * brightness) for nb in color_code]