NetLogo 7.0.0-beta2:

palette:with-G

color palette:with-G number

Reports an RGBA color with green component in RGB color space equal to number and the other RGB components of the input color unchanged. An error message results if number is not in the range 0 to 255.

Example:

show red palette:with-G 56 ;; [215 56 41]

Take me to the full Palette Extension Dictionary