CSS outline-color property

The outline-color property allows you to specify the color of the outline. Its value should either be a color name, a hex color, or an RGB value, as with the color and border-color properties.


You can try to run the following code to implement outline-color property −

      <p style = "outline-width:thin; outline-style:solid;outline-color:blue">
         This text is having thin solid blue outline.
      <br />