From c15af196f63e651f3e7d6818faecd0b69b96f9b6 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 10 Oct 2024 15:27:47 +0200 Subject: [PATCH] Add color constants reference to BBCode in RichTextLabel This reference is already present in the Color class reference, but this embeds it directly in the page to save users a click. --- tutorials/ui/bbcode_in_richtextlabel.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tutorials/ui/bbcode_in_richtextlabel.rst b/tutorials/ui/bbcode_in_richtextlabel.rst index 6b40540d46c0..2867c8e0a85a 100644 --- a/tutorials/ui/bbcode_in_richtextlabel.rst +++ b/tutorials/ui/bbcode_in_richtextlabel.rst @@ -812,13 +812,19 @@ Font options 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 styles using different casings: ``DARK_RED``, ``DarkRed``, and ``darkred`` will give the same exact result. .. _doc_bbcode_in_richtextlabel_hex_colors: +See this image for a list of color constants: + +.. image:: /img/color_constants.png + +`View at full size `__ + Hexadecimal color codes ~~~~~~~~~~~~~~~~~~~~~~~