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