The currentColor keyword refers to the current value of the color property of an element (after computing all the properties) and allows us to use it directly without explicitly specifying the color code. .my-class { color: red; background-color: currentColor; color: blue; } currentColor , currentcolor , CurrentColor , CURRENTCOLOR , cUrReNtCoLoR , etc.