for x=0 to 999 for y=0 to 999 z = int(y/100)*10+int(x/100) graphics color x,y,z x=red y=green z=blue pset x,y next y,x