title: jQuery Mini Colors - Saving the opacity RGBA to the form input
body: <p>Im trying to get opacity working in minicolors. I can get the functionality working but I cant save the RGBA to the input field.</p>
  
  <p>Well thats not true, the rgba is sent to the input when i select a color, but as soon as I click off the color wheel, the input clears. How do I save the input? </p>
  
  <p>Here's the code Im using to get the opacity:</p>
  
  <pre><code>jQuery('.minicolors').minicolors({
      opacity: true,
      change: function(hex, opacity) {
           text = hex ? hex : 'transparent';
           if( opacity ) text += ', ' + opacity;
           text = jQuery(this).minicolors('rgbaString');
           jQuery(this).val(text);
      }
  });
  </code></pre>