def set_item_color(item, color):
    foreground = item.foreground()
    foreground.setColor(color)
    item.setForeground(foreground)
sets the item color
dataset/ETHPy150Open eoyilmaz/anima/anima/ui/models.py/set_item_color