# demostració dels colors

colorpaper 255,255,255
oculta

repeteix 5 [

pera c = 0 finsa 255 [
  colorpaper 255-c,255,255
]
pera c = 0 finsa 255 [
  colorpaper 0,255-c,255
]
pera c = 0 finsa 255 [
  colorpaper c,0,255
]
pera c = 0 finsa 255 [
  colorpaper 255,c,255-c
]
pera c = 0 finsa 255 [
  colorpaper 255,255-c,0
]
pera c = 0 finsa 255 [
  colorpaper 255,0,c
]
pera c = 0 finsa 255 [
  colorpaper 255-c,0,255-c
]
pera c = 0 finsa 255 [
  colorpaper c,c,c
]

]