How to change the color of the cursor?

I’ve been looking at the forum but cannot find the solution. Can anyone help me?

Here:

.CodeMirror .CodeMirror-cursor {
  border-left: 1px solid #819090;
}

I’m using the vim plugin. This setting works for my cursor in insert mode, but not normal mode.

I found the solution, it’s the property background:

.CodeMirror .CodeMirror-cursor {
  border-left: 1px solid #375353;
  background: #375353;
}

Related: Changing cursor color in vim mode - discuss.CodeMirror