Methods

Calcluate the X11 color value of a hexadecimal color

calculate(string $hexColor) : \Zend\Console\Color\self

Parameters

$hexColor

string

Returns

\Zend\Console\Color\self

Populate color property with X11-formatted equivalent

__construct(mixed $color) 

Parameters

$color

mixed

 Properties

 

<p>X11-formatted color value</p>

$color : string

 Constants

 

Background constant

BACKGROUND 

 

Foreground constant

FOREGROUND