title: How to generate random pastel (or brighter) color in Javascript?
body: <p>I am building a simple website that gives a random quote when I click a button, and with that, the background color changes. The thing is that sometimes the background color is too dark and the font is black, and consequently the person can't read the quote.</p>
  <hr />
  <h3>My question:</h3>
  <p>Is there is any way to create a random color code using just <em>bright colors</em>, or <em>pastel colors</em>?</p>
  <hr />
  <p>I got this code to generate a random color. I tried to edit to get only <code>A</code> to <code>F</code> strings but no success:</p>
  <pre><code>'#'+((1&lt;&lt;24)*(Math.random()+1)|0).toString(16).substr(1)
  </code></pre>
  <p>Thank you very much in advance.</p>