Border Color Posted on October 21, 2015 by Border Color The border-color property is used to set the color of the border. The color can be set by: name – specify a color name, like “red” RGB – specify a RGB value, like “rgb(255,0,0)” Hex – specify a hex value, like “#ff0000”