More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{HelpFiles}} | [[Category:General_Functions]] | ||
{{HelpFiles}} | |||
==== Color_getByName ==== | ==== Color_getByName ==== | ||
Line 15: | Line 16: | ||
'''Return type''' | '''Return type''' | ||
an array | an array | ||
'''Example''' | '''Example''' | ||
Line 27: | Line 28: | ||
// result: {17,255,255,0} | // result: {17,255,255,0} | ||
</source><br/>'''Availability''' | </source> | ||
<br/>'''Availability''' | |||
Version 5.8 <!-- imported from file: 8021.htm--> | Version 5.8 | ||
<!-- imported from file: 8021.htm--> |
Latest revision as of 10:09, 11 November 2016
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