package Default

 Methods

Calcluate the X11 color value of a hexadecimal color

calculate(string $hexColor) : \Zend\Console\Color\Xterm256
Static
fluent This method is part of a fluent interface and will return the same instance

Parameters

$hexColor

string

Returns

\Zend\Console\Color\Xterm256

Populate color property with X11-formatted equivalent

__construct(mixed $color = null

Parameters

$color

mixed

 Properties

 

X11-formatted color value

$color : string

Default

Static

 Constants

 

Background constant

BACKGROUND = 48 
 

Foreground constant

FOREGROUND = 38