---
title: "Border color in css"  
description: "Border color in css"  
author: "Anonymous User"  
published: 2013-06-15  
updated: 2013-06-15  
canonical: https://www.mindstick.com/forum/1145/border-color-in-css  
category: "css-css3"  
tags: ["css-css3"]  
reading_time: 1 minute  

---

# Border color in css

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
Hi Expert,\
How to set the div border (top, [left](https://www.mindstick.com/articles/12768/don-t-be-left-behind-with-the-new-it-revolution), bottom, [right](https://www.mindstick.com/articles/12766/check-whether-you-are-doing-digital-transformation-right-or-not)) with different [color](https://www.mindstick.com/articles/77/how-to-split-form-background-color-in-c-sharp) in [css](https://www.mindstick.com/forum/514/background-gradient-ie7-css-problem)?Can you provide me line of code. \
Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

Hi Ankita,\
You can set the border color as following

```
border-bottom-color:#FFFFFF;border-left-color:#FF00FF;border-right-color:#0000FF;border-top-color:#00FF00;
```


---

Original Source: https://www.mindstick.com/forum/1145/border-color-in-css

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
