Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b9c7d69

Browse filesBrowse files
committed
minor #15871 [Console] Revert RGB notation in console coloring (javiereguiluz)
This PR was merged into the 5.4 branch. Discussion ---------- [Console] Revert RGB notation in console coloring As `@ogizanagi` said in #15833 (comment), this change was ultimately reverted, so let's revert the docs too. Commits ------- 213d725 [Console] Revert RGB notation in console coloring
2 parents 77b7f55 + 213d725 commit b9c7d69
Copy full SHA for b9c7d69

File tree

1 file changed

+0
-7
lines changed
Filter options

1 file changed

+0
-7
lines changed

‎console/coloring.rst

Copy file name to clipboardExpand all lines: console/coloring.rst
-7Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.