# Current color

*noun*

say it: **“KUR-unt KUL-er”** **/ˈkɜːrənt ˈkʌlər/**

A CSS keyword, written currentColor, that means this element's text color, so a border, an icon or a shadow can follow the text color when it changes.

## What is `currentColor`?

`currentColor` means "whatever the text color is". Borders and icons that use it always match the text.

```css
.tag { color: teal; border: 1px solid currentColor; }   /* the border matches the text */
```

## In a sentence

- “I gave the button a 2px solid **currentColor** border, so when hover turned the text orange, the border turned orange too.”

Level: Freelancer · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=4)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/current-color
