# Set the color of the outline with CSS

CSSWeb DevelopmentFront End Technology

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.

## Example

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

<html>
<head>
</head>
<body>
<p style = "outline-width:thin; outline-style:solid;outline-color:blue">
This text is having thin solid blue outline.
</p>
<br />
</body>
</html>
Published on 17-Apr-2018 12:55:23

Advertisements