We use cookies to improve your experience. Learn more in our Privacy policy.
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-color | 1 | 12 | 1.5 | 8 | 7 | 1.2 |
invert | 12 | 1 | 8 | 7 |