How do I change the color of my text cursor?
Open the Settings app. Go to Ease of access -> Text Cursor. On the right, see the Use text cursor indicator section. Click on the desired color under Suggested text cursor indicator color.
What is a text cursor?
A caret (sometimes called a "text cursor") is an indicator displayed on the screen to indicate where text input will be inserted. Most user interfaces represent the caret using a thin vertical line or a character-sized box that flashes, but this can vary. This point in the text is called the insertion point.