palette:brightness
palette:brightness
Reports a number in the range 0 to 100 that represents the brightness of an agent’s color or pcolor.
Example:
crt 1 [set color red]
[palette:brightness] of turtle 0 ;; 84.314
Take me to the full Palette Extension Dictionary