Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Colors
Color
fg
Colors\Color::fg PHP Method
Color Class Documentation
Mostrar archivo
Open project: kevinlebrun/colors.php
fg()
public
method
public
fg
(
$color
,
$text
= null )
public function fg($color, $text = null) { return $this->apply($color, $text); }
Color
__call
__construct
__get
__invoke
__toString
apply
applyStyle
applyUserStyle
are256ColorsSupported
bg
buildEscSeq
center
clean
colorize
colorizeText
fg
highlight
isAValidStyleName
isStyleExists
isStyleForced
isSupported
isUserStyleExists
replaceStyle
reset
setForceStyle
setInternalState
setTheme
setUserStyles
shouldStylize
strip
stripColors
stylize