BORDER-COLOR Property In CSS

border-color Property in CSS

border-color property Declares the border color of all four borders at once.

Possible Value:

Valid color names, RGB values, hexidecimal notation, or the predefined value transparent. Separate the color for each border by a space, declaring the colors for the borders in the following order: border-top-color border-right-color border-bottom-color border-left-color

Example

div { border-color:green red blue olive; } div { border-color:green; } div { border-color:green red; } div { border-color:green red blue; }

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad