Due to environmental scattering, images taken in the underwater environment still exhibit color distortion, loss of resolution, and decreased contrast. The suggested study presents a method for enhancing the aesthetic appeal of underwater photography. Yet, because of unwanted staining, decreased contrast, and detail loss brought on by light scattering and absorption, photos that are directly taken in the marine environment are still highly damaged, drastically limiting the amount of information that can be extracted from the image. Thus, acquiring precise and clear photographs is a crucial requirement for aiding scientists in their understanding of the underwater environment. The CNN algorithms are employed in many different applications, including Identification of the object, tracking, recognition, and navigation. Separating the water component from the other component is the most important step here. To get rid of water from a color image, we're suggesting a practical technique.