Zend\Console\Adapter\Posix::getColorCode
Get the final color code and throw exception on error
Signature
protected function getColorCode(null|int|Xterm256
$color,
[string
$type = 'fg'] )
Parameters
$color
— object
$type
— string- (optional) Foreground 'fg' or background 'bg'.
Returns
- string