Believe it or not, black is an excellent camouflage, heck most Thamnophis have huge amounts of black as the top side colour.

Sight depends on reflected light, black absorbs light.