<!DOCTYPE html>
<html>
<head>
<title>CSS border-color Property</title>
<style>
div {
background: #eee;
display: flex;
height: 30px;
margin-bottom: 10px;
align-items: center;
justify-content: center;
border-width: medium;
border-style: solid;
}
.border-1 {
border-color: pink;
}
.border-2 {
border-color: pink red;
}
.border-3 {
border-color: pink red blue;
}
.border-4 {
border-color: pink red blue green;
}
.border-5 {
border-color: #888888;
}
.border-6 {
border-color: rgb(255, 167, 0, 0.9);
}
.border-7 {
border-color: hsl(45, 100%, 50%, 0.9);
}
</style>
</head>
<body>
<div class="border-1">pink</div>
<div class="border-2">pink red</div>
<div class="border-3">pink red blue</div>
<div class="border-4">pink red blue green</div>
<div class="border-5">HEX Code</div>
<div class="border-6">RGBA: rgb(255, 167, 0, 0.9)</div>
<div class="border-7">HSLA: hsl(45, 100%, 50%, 0.9)</div>
</body>
</html>