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