CSS outline-color Property Reference

The CSS outline-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

CSS outline-color Property Reference

The CSS outline-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

outline-color overview

The CSS outline-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

outline-color formal syntax
FieldValue
Formal syntaxauto | <color>
Initial valueauto
Applies toallElements
InheritedNo
Percentagesno
Computed valueautoForTranslucentColorRGBAOtherwiseRGB
Animation typecolor
Mediavisual, interactive
Specification groupCSS Basic User Interface
StatusStandard

Practical examples

These declarations demonstrate valid ways to set outline-color. The initial and inherit global keywords remain available even when a property-specific value is preferable.

outline-color live example
CSS .reset-example { outline-color: initial; } .inherit-example { outline-color: inherit; } @supports (outline-color: initial) { .supported { outline-color: initial; } }

Related references

Description

The CSS outline-color property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: outline-color
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies