Turtle and Observer Command |
count-color-range mincolor maxcolor
Returns the number of turtles that have colors between mincolor and maxcolor, inclusive. Examples: count-color-range 0 0 returns the number of turtles with color black. Related commands: |