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.
CSS - Cascading Style Sheets can be used along with html tags as explained in this site.
This simple CSS will help you to create much elegant and neat html web pages.
This does not need any additional softwares or codings.
All web browser are capable of handing CSS codes.
Note 2: If required you can using <span> instead of <div> tags.
div tag will start and end on new lines. span will not exceed the tag area.