outline-color

The outline-color CSS property sets the color of an element's outline.

Example

Initial value invert, for browsers supporting it, currentColor for the other
Applies to all elements

Syntax

  
outline-color: red;
  

Values

The color of the outline, specified as a .
To ensure the outline is visible, performs a color inversion of the background. Note that browsers are not required to support this value; if they don't, this keyword is considered invalid.

Browser support

outline-color1121.5871.2
invert12187

We use cookies to improve your experience. Learn more in our Privacy policy.

×