The border of any object can be set with any color using the tag/argument border-color. border-color will not take effect with out border style. Border style can be set using "border-style" It takes the following values. a)red : The border color can be set using text names of colors. b)#454545 : The border color can be set using hexadecimal color code. c)rgb(x,y,z) : The border color can be set rgb code.