palette:set-hue
palette:set-hue number
Changes an agent’s hue value to number, leaving the other HSB components unchanged. An error message results if number is not in the range from 0 to 360.
Example:
ask turtles [palette:set-hue 30]
Take me to the full Palette Extension Dictionary