A black engine block will radiate the internal heat faster just like the water radiator. The heads and cylinders are cooled by the water but the internal components are cooled by the oil flowing through and over them and then thrown onto the inner surfaces of the block. The heat is then transferred through to the outside were it has to dissipate and flat black is the best colour for doing that.