title: How to change the default highlight color of drop down in html from blue to some other color for <select><option> tag
body: <p>How to change the default highlight color of drop down in HTML from blue to some other color for <code>&lt;select&gt;&lt;option&gt;</code> tags, using some CSS properties or from Javascript?</p>
  
  <p>The requirement is I have to use the <code>&lt;select&gt; &lt;option&gt;</code> tags only. I tried the code below, but it didn't work for me:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Dropdown Colour&lt;/title&gt;
          &lt;style type="text/css"&gt;
              option:hover {
                  background:#C6C4BD;
              }
          &lt;/style&gt;    
      &lt;/head&gt;
  
      &lt;body&gt;
  
          &lt;select&gt;
              &lt;option&gt;Shell&lt;/option&gt;
              &lt;option&gt;Cabbage&lt;/option&gt;
              &lt;option&gt;Beans&lt;/option&gt;
              &lt;option&gt;Cheese&lt;/option&gt;
              &lt;option&gt;Clock&lt;/option&gt;
              &lt;option&gt;Monkey&lt;/option&gt;
          &lt;/select&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>