# Set the color of the four borders using CSS

CSSWeb DevelopmentFront End Technology

To set the color of the four borders, use the border-color property. You can try to run the following code to set border color for all the borders

## Example

Live Demo

<!DOCTYPE html>
<html>
<style>
p {
border-style: dashed;
border-color: #808000 #800000 #FF0000 #FFFF00;
}
</style>
</html>