SETPC
Syntax SETPC number 
SETPC colorword
SETPC [Red Green Blue] 
 
Explanation SETPC sets a pen color for all active turtles. The first 16 colors are predefined as follows:
 
0 Black 8 Dark Grey
1 Blue 9 Light Blue
2 Green 10 Light Green
3 Cyan 11 Light Cyan
4 Red 12 Light Red
5 Violet 13 Magenta
6 Brown 14 Yellow
7 Light Grey 15 White

SETPC accepts color numbers from 0 through 255 and assigns colors compatible with the PC Logo environment.

You may also use one of the predfined color names or a list of three RGB values as input.

Use PENCOLOR to obtain the current pen color.

Examples

TopIndex