diff --git a/console/coloring.rst b/console/coloring.rst index 7e77a090b25..15dc7eed0a5 100644 --- a/console/coloring.rst +++ b/console/coloring.rst @@ -58,6 +58,10 @@ 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. @@ -77,6 +81,9 @@ You can also set these colors and options directly inside the tag name:: // red text $output->writeln('foo'); + // chartreuse text + $output->writeln('foo'); + // black text on a cyan background $output->writeln('foo');