static public function shellColor($color, $string, $conditional=true) {
    if(!$conditional) {
      return $string;
    }
    $color = self::shellColorCode($color);
    return $color.$string.self::shellColorCode('plain');
  }
static public function shellColor($color, $string, $conditional=true) {
    if(!$conditional) {
      return $string;
    }
    $color = self::shellColorCode($color);
    return $color.$string.self::shellColorCode('plain');
  }
static public function shellColor ( $ color , $ string , $ conditional = true ) { if ( ! $ conditional ) { return $ string ; } $ color = self :: shellColorCode ( $ color ) ; return $ color . $ string . self :: shellColorCode ( 'plain' ) ; }
Wraps string in bash shell color escape sequences for the provided color.

@param $color string|integer If a string is provided, we lookup the colors
using the $colors table in the function body below. For precise control,
an integer will yield a precise color code.
@param $string string The string to colorize.
@param $conditional A flag parameter which may be passed in to
transparently enable/disable colorization.

@return The colorized string.
Wraps string in bash shell color escape sequences for the provided color .