NetLogo 7.0.0-beta2:

palette:set-R

palette:set-R number

Changes an agent’s red component of its RGB/A color leaving the other RGB components unchanged. An error message results if number is not in the range from 0 to 255.

Example:

ask turtles [palette:set-R 30]

Take me to the full Palette Extension Dictionary