Can the body of the Hammer and Hanging Man be either black or white in colour?
In principle, the answer's "yes".
(And you can see that the smaller the body is, in proportion to the candle's entire length, the less the disparity between the open and the close is going to signify anyway? Both are just "candles with a very small real body at their top".)
It's really important and helpful to be aware that these structures (and especially when you're looking at candles rather than at bars) visually emphasise the opens and the closes, and that - unlike highs and lows - those are essentially arbitrary and user-defined. The one which, at the top of an uptrend, you call a "hanging man" (though you'd call it a "hammer" at the bottom of a downtrend), seen on a much faster time-frame, would look exactly like a "double top", wouldn't it (or sometimes even a "multiple top")? Be aware that "how it looks" is inherently user-defined.