CSS · Properties — CSS Basic User Interface

outline-color

The CSS outline-color property. Initial value: auto. Not inherited.

Syntax
outline-color: auto | <color>

Example

Try it

Notes

Media: visual,interactive. Applies to: allElements. Computed value: autoForTranslucentColorRGBAOtherwiseRGB.

More in this group

appearance caret caret-animation caret-color caret-shape field-sizing interactivity interest-delay

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course