currentcolor ↔ JS Keyword to set/inherit value of element's color CSS Property
can be used in place of color property to inherit value from color
<div style="color: blue; border: 1px dashed currentcolor;"\>
Border will inherit color property
<div style="background: currentcolor: height:9px"\></div\>
Above is a blue box that inherited color value
</div\>
References
color↔ CSS Property to setcurrentcolorvalue; foreground color value of element text &text-decoration