If you were to use PEX tubing, you don't want it exposed to the sun. The PEX tubing will deteriorate.

What ever you use, make sure the hose runs downward at 1/4 per foot with the lowest end at the end of the line so water can drain out.