title: How to generate skewed random numbers in Javascript?
body: <p>Using Javascript, how can I generate random numbers that are skewed towards one end or the other of the distribution? Or ideally an point within the range?</p>
  
  <p>For context: I'm creating a UI that has uses a grid of random grey squares. I'm generating the grey's RGB values using <code>Math.random()</code> but would like to be able to skew the greys to be on average darker or lighter while still having the full range from black to white represented. </p>
  
  <p>(I think this is a similar question to <a href="https://stackoverflow.com/questions/5853187/skewing-java-random-number-generation-toward-a-certain-number">Skewing java random number generation toward a certain number</a> but I'm working with Javascript...)</p>
  
  <p>Any help greatly appreciated.</p>