# Style borderLeftColor Property
[ Style Object](#)
* * *
## Definition and Usage
The borderLeftColor property sets or returns the color of the left border of an element.
## Syntax
Set the borderLeftColor property:
Object.style.borderLeftColor="_color_|transparent|inherit"
Return the borderLeftColor property:
Object.style.borderLeftColor
**Note:** The borderLeftColor property has no default value.
| Value | Description |
| :--- | :--- |
| _color_ | Specifies the color of the left border. See (#) for a complete list of possible color values. |
| transparent | The left border is transparent (the underlying content will show through). |
| inherit | The left border color is inherited from the parent element. |
* * *
## Browser Support

All major browsers support the borderLeftColor property.
**Note:** IE7 and earlier versions do not support the "inherit" value. IE8 only supports "inherit" if a !DOCTYPE is specified. IE9 supports "inherit".
* * *
## Example
## Example
Change the color of the left border:
#ex1{
border: 1px solid #FF0000;
}
function displayResult(){
document.getElementById("ex1").style.borderLeftColor="#00FF00";
}