PC Logo Wiki
Advertisement

Syntax

SETPALLET number

Explanation

SETPALLET changes the current pallet to the given number. There are four pallets available, so SETPALLET will accept a number between 0 and 3. Each pallet has 256 pen colors. Each of the pen colors in each of the pallets can be separately defined with the SETCOLOR command.

SETPALLET changes the colors of all the turtle drawings on the screen at once. By defining different pen colors in different pallets, SETPALLET can be used to change the color of turtle drawing rapidly and dramatically.

When Logo starts up, the pen colors in each of the palletes is the same. See also COLOR, GETPALLET, PEN, PENCOLOR, and SETPC.

Advertisement