NetLogo 7.0.0-beta2:

palette:with-R

color palette:with-R number

Reports an RGBA color with red 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-R 50 ;; [50 50 41]

Take me to the full Palette Extension Dictionary