mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
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.
This commit is contained in:
committed by
Max Hilbrunner
parent
4b58306df4
commit
ab476271ad
@@ -812,11 +812,17 @@ 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.
|
||||
|
||||
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:
|
||||
|
||||
Hexadecimal color codes
|
||||
|
||||
Reference in New Issue
Block a user