outline-color
Sets the color of the outline drawn around an element. Outlines are different from borders because they don't take up any space in the layout.
It is documented as part of the CSS Basic User Interface specification.
Syntax
/* Usage Example */
button:focus {
/* Sets a specific color for the focus outline */
outline-color: #3b82f6;
}
/* Syntax */
outline-color: auto;
/* Global values */
outline-color: inherit;
outline-color: initial;
outline-color: revert;
outline-color: revert-layer;
outline-color: unset;
outline-color Browser support
Widely available
Since
2017 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.
1+
1.5+
1.2+
12+