outline-color

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

CSS2

Syntax

outline-color: <color> | invert | inherit
Initial: invert
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual, interactive

Values

outline-color: value
Value Initial Description
color
invert invert

DOM

[window.]document.getElementById("element-id").style.outlineColor = "outline-color";

Example | color

Example | invert

Example | DOM

External

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification

W3C CSS Basic User Interface Module Level 3 (CSS3 UI)