Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
  border-right-style: solid;
  border-right-color: hsla(89, 43%, 51%, 0.3);
}
div {
  border-style: solid;
  border-right-color: hsla(89, 43%, 51%, 0.3);
}
</style>
</head>
<body>
<h1>A heading with a colored right border</h1>
<div>The border-right-color can be specified with a HSLA value.</div>
<p><strong>Note:</strong> Always declare the border-right-style or the border-style property before the border-right-color property. An element must have a border before you can change the color.</p>
</body>
</html>