Browse Source

Merge pull request #10069 from Calinou/bbcode-in-richtextlabel-color-constants

Add color constants reference to BBCode in RichTextLabel
Max Hilbrunner 9 months ago
parent
commit
99c5cb6dfd
1 changed files with 7 additions and 1 deletions
  1. 7 1
      tutorials/ui/bbcode_in_richtextlabel.rst

+ 7 - 1
tutorials/ui/bbcode_in_richtextlabel.rst

@@ -812,11 +812,17 @@ Font options
 Named colors
 Named colors
 ~~~~~~~~~~~~
 ~~~~~~~~~~~~
 
 
-For tags that allow specifying a color by name you can use names of the constants from
+For tags that allow specifying a color by name, you can use names of the constants from
 the built-in :ref:`class_Color` class. Named classes can be specified in a number of
 the built-in :ref:`class_Color` class. Named classes can be specified in a number of
 styles using different casings: ``DARK_RED``, ``DarkRed``, and ``darkred`` will give
 styles using different casings: ``DARK_RED``, ``DarkRed``, and ``darkred`` will give
 the same exact result.
 the same exact result.
 
 
+See this image for a list of color constants:
+
+.. image:: /img/color_constants.png
+
+`View at full size <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/color_constants.png>`__
+
 .. _doc_bbcode_in_richtextlabel_hex_colors:
 .. _doc_bbcode_in_richtextlabel_hex_colors:
 
 
 Hexadecimal color codes
 Hexadecimal color codes