To apply borders with customized colors and line styles:
Click on the border icon on the tool bar.
In the drop down displayed, select the desired color, line style and the required border option to be applied.
The customization can also be performed on a range where borders already exist. Simple select the desired range with the borders and perform the same steps as above!