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