NetLogo 7.0.0-beta2:

palette:hue

palette:hue

Reports a number in the range 0 to 360 that represents the hue of an agent’s color or pcolor.

Example:

crt 1 [set color red]
[palette:hue] of turtle 0 ;; 3.103

Take me to the full Palette Extension Dictionary