Skip to main content

CSS Caret Color Generator

Customize the text cursor (caret) color in input fields.
Click on any input below to see your custom caret color in action.

Click on any input element below to see the caret color

Click here to edit and see caret color...
caret-color: #3b82f6;

What is caret-color?

The caret-color CSS property sets the color of the text insertion cursor (caret) in input fields, textareas, and elements with contenteditable attribute.

Custom Color

Use any hex, rgb, hsl, or named color value to customize the caret.

Auto

Browser automatically picks a color based on the text color (default behavior).

Transparent

Makes the caret invisible. Useful for custom cursor implementations.