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