currentColor

29/06/20181 Min Read — In CSS

Often forgotten about in CSS: The value of the ‘currentColor’ keyword is the computed value of the ‘color’ property.

.class-name {
  color: #bada55;
  border: 5px solid currentColor;
}