The color class holds preset color values for use with the Spike, such as with the Light and ColorSensor libraries.
BLACK=0
MAGENTA=1
PURPLE=2
BLUE=3
AZURE=4
TURQUOISE=5
GREEN=6
YELLOW=7
ORANGE=8
RED=9
1
2
3
4
5
6
use Libraries.Robots.Spike.Light
use Libraries.Robots.Spike.Color
Color color
Light light
light:Color(light:POWER, color:BLUE)
light:Color(light:CONNECT, color:RED)