title: Detect background color of a website
body: <p>I am trying to detect color of different elements in a webpage(saved on machine). Currently I am trying to write a code in python. The initial approach which I followed is:</p>
  
  <ol>
  <li>find color word in html file in different tags using regular expressions.</li>
  <li>try to read the hex value.</li>
  </ol>
  
  <p>But this approach is very stupid. I am new to website design, can you please help me with this.</p>