listbox.pack(expand=1, fill='both')
listbox.insert('end', 'A list item')
for item in ['one', 'two', 'three', 'four']:
    listbox.insert('end', item)
listbox.itemconfig(1, {'bg': 'red'})
listbox.itemconfig(3, {'fg': 'blue'})
listbox.itemconfig(2, bg='green')
listbox.itemconfig(0, foreground='purple')
if __name__ == '__main__':
    root = tk.Tk()
demo(root)
root.mainloop()
Is it possible to colour a specific item in a Listbox widget?