CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS border-color property




CSS border-color property use to set a border color for in an elements.


Property Values


Properties Value Description
Syntax border-color:value;
value   #XXXXXX
  Color_Name
  transparent
  inherit
Allow to All elements
Inherited Yes

Example-Code:

<p style="border-style:solid;border-width:2px;border-color:
orange;">This Paragraph is example of the border color of CSS 
style can use a border color name or border hexadecimal code.</p>
Online Try This Code Your Self....   »

Example-Result:

This Paragraph is example of the border color of CSS style can use a border color name or border hexadecimal code.