Pexels
Sunlight contains all colors of the spectrum.
Pexels
Water absorbs longer wavelengths like red, orange, and yellow more than shorter wavelengths like blue.
Pexels
The shorter blue wavelengths get scattered and reflected back to our eyes, making the ocean look blue.
Pexels
This is similar to why the sky appears blue!
Pexels
The presence of algae, sediments, and particles can change the color of the ocean.
Pexels
Shallow waters near beaches may appear green or turquoise due to sunlight reflecting off the sandy bottom.
Pexels