Set color palette

setpalette name

Set current palette of colors to the predefined palette with specified name.

Example:

setpalette "hot
;setpalette "blue2red
;setpalette "rainbow
ht
pu setxy -250 0 pd
repeat 500 [
  pu setxy repcount-250 (-10) pd
  setpc 2*repcount fd 20
]

Output:
Ribbon of colors from the chosen palette.

See also:

Table of Content