title: In an input mask, how I make the entered text a different color?
body: <p>I have an input mask for entering phone numbers on my website but I can't figure out how to make the entered text black while the mask is opaque.</p>
  <pre><code>&lt;script src=&quot;https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/jquery.inputmask.bundle.js&quot;&gt;&lt;/script&gt;
  
  &lt;script&gt;
  $(document).ready(function(){
  
      $(&quot;#Phone-2&quot;).inputmask({&quot;mask&quot; : &quot;(999) 999-9999&quot; , &quot;placeholder&quot;: &quot;(123) 456-7890&quot;, &quot;clearMaskOnLostFocus&quot;: false});
  
  
  });
  &lt;/script&gt;
  
  &lt;style&gt;
  
      
    #Phone-2{
      opacity: 25%;
      
    }
      }
  &lt;/style&gt;
  </code></pre>