Difference between revisions of "Color (API)"

From ComputerCraft Wiki
Jump to: navigation, search
(Made page. Randomly guessed on most stuff.)
 
(Redirected page to Colors (API))
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
−
Colors API allows you to mess with colors.
+
#REDIRECT [[Colors_(API)]]
−
 
+
−
Its functions are:
+
−
 
+
−
* colors.combine( color1, color2, color3, so on) which combines the colors
+
−
* colors.subtract( colors, color1, color2, so on) which subtracts the colors
+
−
* colors.test( colors, color )
+
−
 
+
−
Color constants include, in ascending bit order:
+
−
 
+
−
* colors.white
+
−
* colors.orange
+
−
* colors.magenta
+
−
* colors.lightBlue
+
−
* colors.yellow
+
−
* colors.lime
+
−
* colors.pink
+
−
* colors.gray
+
−
* colors.lightGray
+
−
* colors.cyan
+
−
* colors.purple
+
−
* colors.blue
+
−
* colors.brown
+
−
* colors.green
+
−
* colors.red
+
−
* colors.black
+

Latest revision as of 13:15, 5 July 2012

Redirect to: