Any form of sound, whether pink noise, white noise, or another, is generally safe to employ. By blocking out distracting noises that would keep you awake, it promotes sleep. Hence, you can play it all night.