Zend Framework  3.0
Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
Xterm256 Class Reference

Static Public Member Functions

static calculate ($hexColor)
 Calcluate the X11 color value of a hexadecimal color.
 

Public Attributes

const FOREGROUND = 38
 Foreground constant.
 
const BACKGROUND = 48
 Background constant.
 

Static Public Attributes

static $color
 

Protected Member Functions

 __construct ($color=null)
 Populate color property with X11-formatted equivalent.
 

Constructor & Destructor Documentation

__construct (   $color = null)
protected

Populate color property with X11-formatted equivalent.

Parameters
mixed$color

Member Function Documentation

static calculate (   $hexColor)
static

Calcluate the X11 color value of a hexadecimal color.

Parameters
string$hexColor
Returns
self

Member Data Documentation

$color
static
const BACKGROUND = 48

Background constant.

const FOREGROUND = 38

Foreground constant.