Wikipedia has an article with some other information on pink noise (a more common name), including a random generator: https://en.wikipedia.org/wiki/Pink_noise. Some music generation algorithms use pink noise, as it (supposedly) strikes a better balance between randomness and predictability.
Pink noise is also perceptually flat noise, because it contains the same energy in each octave (or decade). 'truly' white noise (equal energy for equal bandwidth) tends to sound quite tinny/hissy in comparison.