Can't make out , from your picture, what part of the cyl is red. If its just the section that would be visible once installed I've seen plenty painted (normally along with the backing plate) all sorts of colors.
The wheel cylinders often received a paint mark but it was on the drum side and fairly small (brush or daub)