After the activated ability resolves, the creature will not retain any of its previous colors or creature types—it will be only a blue Shark or a blue Octopus. Its other card types (such as artifact) and supertypes (such as legendary), if any, will remain unchanged.