We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1a53e commit e958c59Copy full SHA for e958c59
console/coloring.rst
@@ -75,13 +75,13 @@ commonly used when asking the user to type sensitive information).
75
76
You can also set these colors and options directly inside the tag name::
77
78
- // green text
+ // using named colors
79
$output->writeln('<fg=green>foo</>');
80
81
- // red text
+ // using hexadecimal colors
82
$output->writeln('<fg=#c0392b>foo</>');
83
84
- // chartreuse text
+ // using RGB colors
85
$output->writeln('<fg=rgb(127, 255, 0)>foo</>');
86
87
// black text on a cyan background
0 commit comments