It all depends on the fabric itself, 100% cotton will slowly shrink over time, but not due to the water temp, but from dryer temp.  Some people say it’s the hot water that does the shrinking, but I believe it’s the drying process and not hot or cold water. Laundry hot cold water