set boder color in css code example Example 1: border color css border: 1px solid #000000; Example 2: border color css border: 1px; border-color: #3581fc;