Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <style> p.one { border-style:solid; border-color:red; } p.two { border-style:solid; border-color:#98bf21; } </style> </head> <body> <p class="one">A solid red border</p> <p class="two">A solid green border</p> <p><b>Note:</b> The "border-color" property does not work if it is used alone. Use the "border-style" property to set the borders first.</p> </body> </html>
Result:
W3Schools.com - Try it yourself