NetLogo 7.0.0-beta2:

palette:G-of

palette:G-of color

Reports a value in the range 0 to 255 representing the green component in the RGB color space of the given NL, RGB or RGBA color.

Example:

show palette:G-of red ;; 50

Take me to the full Palette Extension Dictionary