Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 10:09, 11 November 2016 by Hovietluu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Color_getByName

To get RGB code of color

Syntax

Color_getByName(string colorName)

Arguments

colorName: name of color

Return type

an array

Example

print(Color_getByName("white"));
// result: {17,255,255,255}
print(Color_getByName("red"));
// result: {17,255,0,0}
print(Color_getByName("yellow"));
// result: {17,255,255,0}


Availability

Version 5.8