title: How to set background color of view transparent in React Native
body: <p>This is the style of the view that i have used</p>
  
  <pre class="lang-js prettyprint-override"><code>backCover: {
    position: 'absolute',
    marginTop: 20,
    top: 0,
    bottom: 0,
    left: 0,
    right: 0,
  }
  </code></pre>
  
  <p>Currently it has a white background. I can change the backgroundColor as i want like <code>'#343434'</code> but it accepts only max 6 hexvalue for color so I cannot give opacity on that like <code>'#00ffffff'</code>. I tried using opacity like this</p>
  
  <pre class="lang-js prettyprint-override"><code>backCover: {
    position: 'absolute',
    marginTop: 20,
    top: 0,
    bottom: 0,
    left: 0,
    right: 0,
    opacity: 0.5,
  }
  </code></pre>
  
  <p>but it reduces visibility of view's content.
  So any answers?</p>