Style outlineColor Property
Style outlineColor Property
The outlineColor property is used to either set or return the color of the outline around an element. An outline is a line around an element and is displayed around the margin of the element. It is not part of element dimensions i.e, it is not included in element width and height.
Syntax:-
Its syntax is:- object.style.outlineColor OR object.style.outlineColor = color | invert | initial | inherit
Return:-
Its return is:- a string containing the color of an element outline