/**
 * Set Paragraph element border color style.
 *
 * @param string $value Paragraph border color style value.
 *
 * @return self Returns instance of the Paragraph element class.
 *
 * @access public
 */
public function borderColor(string $value): self

Examples

Set border style using fluent interface

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!')->border('square')->borderColor('red')
);

Set border style using magic method fluent interface

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!')->borderSquare()->borderColorRed()
);

Set border style using magic classes pipeline

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!', 'border-square border-color-red')
);
Terminal
$ php thermage.php
Stay RAD!

Getting Started

Methods