CSS3 Click Chart

currentColor Keyword Value

A keyword that inherits the color value of a parent element, similar to the inherit keyword, used in place of a color value.

Specification

currentColor keyword on W3C

Example Code

Live Demonstration

The <div> element below inherits its light green background color from its parent.

Browser Support

Tools / Polyfills

Tutorials / Articles

currentColor Keyword on MDN

Fork me on GitHub