title: How to show color box in select tag in angular 2?
body: <p>I need to display a set of color box in select tag dropdown like below.</p>
  
  <p><a href="https://i.stack.imgur.com/FN34l.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FN34l.jpg" alt="Image"></a></p>
  
  <p>I tried it like below</p>
  
  <pre><code>&lt;select&gt;
    &lt;option value=""&gt;Choose Color&lt;/option&gt;
    &lt;option value="red"&gt;&lt;div class="color-box" style="background-color: #FF850A;"&gt;&lt;/div&gt;&lt;/option&gt;
    &lt;option value="green"&gt;&lt;/option&gt;
    &lt;option value="blue"&gt;&lt;/option&gt;
    &lt;option value="yellow"&gt;&lt;/option&gt;
   &lt;/select&gt;
  </code></pre>
  
  <p>But Its not working. Is there any library available for this? Kindly suggest.</p>