title: Html Heat Map Based On Value
body: <p>i have a table which is created dynamically from database. </p>
  
  <pre><code>            for (int m = 0; m &lt; table.size(); m++) {
  
                  out.print("&lt;tr&gt;");
  
                  for (int k = 0; k &lt; table.get(0).length; k++)
  
                  {    out.print("&lt;td width='10'&gt;");
                       out.print(table.get(m)[k]);
                       out.println("&lt;/td&gt;");
                  }
                  out.println("&lt;/tr&gt;");
  
              }
  </code></pre>
  
  <p>I want to make a each cell coloured based on its value , The out put of my table is ; </p>
  
  <p><a href="https://i.stack.imgur.com/jx5lE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jx5lE.png" alt="My image"></a>          </p>