The answer is counter shading.
Countershading is used by the predatory fishes. It is a form of camouflage in which the animal's pigmentation is darker on the upper side and lighter on the lower side of the body. It made the predators detection from the prey but counterbalancing the effects of self-shadowing.