On what factor(s) does the darkness of the shadow cast by an object depend on?
Both A and B
Specifically, an opaque object casts a dark shadow. The shadow may be dark and clear, but sometimes it may be fuzzy. This depends upon the distance of the object from the surface.