When I set border: 1px outset blue;
as the style for an element, the browser displays two distinct border colors: one for the top and left borders, and another for the bottom and right borders.
li
{ border: 10px outset #0000FF;
color: #FFF;
background-color: #0000FF;
width: 30%;
}
p
{ margin: 1em 2em;
text-align: center;
}
<li><p>Hi!</p></li>
When only one color is specified for the border, how does the browser determine which colors to display for the different edges? Alternatively, if a graphic design file (such as a .PSD) shows an outset border with two different colors, how can I select a single border color that will result in the closest appearance to the design?