changing border color html code example Example 1: border color css border: 1px solid #000000; Example 2: border-color div {border-color: coral;}