title: set the border opacity using jquery or javascript in the case of color value in hexadecimal
body: <p>I get border-width,border-color dynamically.</p>
  
  <p>I have to set the opacity for the border.but the border-color value is in the hexadecimal format.</p>
  
  <pre><code>var borderCSS = { border: borderWidth + "px solid "+borderColor};
  </code></pre>
  
  <p><strong>output is:</strong></p>
  
  <pre><code> border:10px solid #cccccc;
  </code></pre>
  
  <p>I don't know how to set the border opacity in this case using <code>jquery</code> 
  or <code>javascript.</code></p>