You can achieve that with fog. If you look at "fog_color" in the manual, it has settings for an underwater fog.