Skip to content

[Console] Revert RGB notation in console coloring #15871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Console] Revert RGB notation in console coloring
  • Loading branch information
javiereguiluz committed Sep 29, 2021
commit 213d725c01f21cf8bb4816fee91860b6a6809a1a
7 changes: 0 additions & 7 deletions console/coloring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ Any hex color is supported for foreground and background colors. Besides that, t

Support for bright colors was introduced in Symfony 5.3.

.. versionadded:: 5.4

Support for RGB functional notation was introduced in Symfony 5.4.

.. note::

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

// using RGB colors
$output->writeln('<fg=rgb(127, 255, 0)>foo</>');

// black text on a cyan background
$output->writeln('<fg=black;bg=cyan>foo</>');

Expand Down