Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
api:colors [2014/07/07 10:29]
vexatos created
api:colors [2015/01/14 23:40] (current)
Line 1: Line 1:
 +Colors API
 +=========
 This "​API"​ serves a global table that allows you to refer to colors by their name, instead of their associated ID/number. The table serves as a look-up in both directions, so for example `colors.blue` has the value `11`, whereas `colors[11]` has the string value `blue`. These are the defined colors: This "​API"​ serves a global table that allows you to refer to colors by their name, instead of their associated ID/number. The table serves as a look-up in both directions, so for example `colors.blue` has the value `11`, whereas `colors[11]` has the string value `blue`. These are the defined colors: