From e4c408d326ee60a1c51cd36937472af4e96554bf Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Sun, 14 Feb 2021 17:58:00 +0300 Subject: [PATCH] Update docs about named colors in RichTextLabel (#4648) Co-authored-by: Hugo Locurcio --- tutorials/ui/bbcode_in_richtextlabel.rst | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/tutorials/ui/bbcode_in_richtextlabel.rst b/tutorials/ui/bbcode_in_richtextlabel.rst index 4b12ce235..d0220d469 100644 --- a/tutorials/ui/bbcode_in_richtextlabel.rst +++ b/tutorials/ui/bbcode_in_richtextlabel.rst @@ -90,26 +90,11 @@ Reference | **cell** | ``[cell]{text}[/cell]`` | Adds cells with the {text} to the table. | +-------------------+--------------------------------------------+-----------------------------------------------------------------+ -Built-in color names -~~~~~~~~~~~~~~~~~~~~ +Named colors +~~~~~~~~~~~~ -List of valid color names for the [color=] tag: - -- aqua -- black -- blue -- fuchsia -- gray -- green -- lime -- maroon -- navy -- purple -- red -- silver -- teal -- white -- yellow +You can use the constants of the :ref:`class_Color` class for the ``[color=]`` tag. +The case and style of the name is not important: ``DARK_RED``, ``DarkRed`` and ``darkred`` will give the same result. Hexadecimal color codes ~~~~~~~~~~~~~~~~~~~~~~~