title: How to convert rgba to a transparency-adjusted-hex?
body: <p>I'm wondering how to convert <code>rgba</code> into <code>hex</code> in a way that translates the visible rgba-color (including transparency) into a hex value.</p>
  
  <p>Say I have this: </p>
  
  <pre><code>rgba(0,129,255,.4)
  </code></pre>
  
  <p>Which is sort of a "light blue"... </p>
  
  <p>I would like to know if there is a way to get the same light blue "visible" color in hex, so I don't want the converted <code>#0081ff</code> but something close to the color visible on screen.</p>
  
  <p><strong>Question:</strong><br>
  How to convert rgba to a transparency-adjusted-hex?</p>