pink border css code example Example 1: border color css border: 1px; border-color: #3581fc; Example 2: add color to border css div {border-color: coral;}