NetLogo 7.0.0-beta2:

palette:B-of

palette:B-of color

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

Example:

show palette:B-of red ;; 41

Take me to the full Palette Extension Dictionary