CSS3/Color/currentColor

From W3C Wiki

currentColor

The value of the ‘color’ property. The computed value of the ‘currentColor’ keyword is the computed value of the ‘color’ property.


Point, Note

  • If the ‘currentColor’ keyword is set on the ‘color’ property itself, it is treated as ‘color: inherit’.


CSS Reference

The CSS Color Module Level 3 specification defines the currentColor color keyword in 4.4. ‘currentColor’ color keyword.