| setc (setcolor) name-or-number |
Sets the color of the turtle's pen. If the turtle has its original shape, it will change color to show the pen color. The input can be the name of a color or a number. If the input is a name, a quotation mark must precede it. The original pen color is black, or color number 9. The input can be an integer, a fraction or a one place decimal. See color. |
Example:
setc "red
setc 15
In order to use the full potential of MicroWorlds graphics, 16 bit color mode is recommended. |