change color of cursor tkinter code example Example: how to change the color of the cursor in tkinter tkinter.Text(tk.Tk(), insertbackground="#3C3F41")