8000 [Console] Revert RGB notation in console coloring · symfony/symfony-docs@213d725 · GitHub
[go: up one dir, main page]

Skip to content

Commit 213d725

Browse files
committed
[Console] Revert RGB notation in console coloring
1 parent 77b7f55 commit 213d725

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

console/coloring.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ Any hex color is supported for foreground and background colors. Besides that, t
5858

5959
Support for bright colors was introduced in Symfony 5.3.
6060

61-
.. versionadded:: 5.4
62-
63-
Support for RGB functional notation was introduced in Symfony 5.4.
64-
6561
.. note::
6662

6763
If the terminal doesn't support true colors, the nearest named color is used.
@@ -81,9 +77,6 @@ You can also set these colors and options directly inside the tag name::
8177
// using hexadecimal colors
8278
$output->writeln('<fg=#c0392b>foo</>');
8379

84-
// using RGB colors
85-
$output->writeln('<fg=rgb(127, 255, 0)>foo</>');
86-
8780
// black text on a cyan background
8881
$output->writeln('<fg=black;bg=cyan>foo</>');
8982

0 commit comments

Comments
 (0)
0