summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorNannaquin <stvnmsantana@gmail.com>2020-04-04 15:31:34 -0400
committerNannaquin <stvnmsantana@gmail.com>2020-04-05 11:34:47 -0400
commit06aeff30446392cd52005b37e8aec219c47e5f9b (patch)
treeadabea5522b76f235a715c8cb196a9eb8a78e76c /doc/classes
parent2a49798c7b92b332c2198f52b9c5ae10bd944bd0 (diff)
Add reference of Color8 function to Color class documentation
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Color.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml
index 8587acade3..d495be2ffd 100644
--- a/doc/classes/Color.xml
+++ b/doc/classes/Color.xml
@@ -5,7 +5,8 @@
</brief_description>
<description>
A color is represented by red, green, and blue [code](r, g, b)[/code] components. Additionally, [code]a[/code] represents the alpha component, often used for transparency. Values are in floating-point and usually range from 0 to 1. Some properties (such as [member CanvasItem.modulate]) may accept values greater than 1.
- You can also create a color from standardized color names by using [method @GDScript.ColorN] or directly using the color constants defined here. The standardized color set is based on the [url=https://en.wikipedia.org/wiki/X11_color_names]X11 color names[/url].
+ You can also create a color from standardized color names by using [method @GDScript.ColorN] or directly using the color constants defined here. The standardized color set is based on the [url=https://en.wikipedia.org/wiki/X11_color_names]X11 color names[/url].
+ If you want to supply values in a range of 0 to 255, you should use [method @GDScript.Color8].
</description>
<tutorials>
</tutorials>