The outline-color property is used in CSS and certain HTML elements. It specifies the color of the outline of the selected object.


  • <color> - Insert a valid color name, or a color code.
  • invert - To ensure that the outline is visible, it performs a color inversion of the background. Currently only supported in Opera and IE8.

HTML example:

<span style="outline:medium solid red;">Outline the text.</span>

That produces: Outline the text.

CSS example:

h1 {
    outline:medium solid red;

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.