title: MVC - Change background colour of divs using database rgb value
body: <p>I've got a table that displays the colour of my items using this expression.</p>
  
  <pre><code> &lt;td&gt;@Html.DisplayFor(l =&gt; item.Colour)&lt;/td&gt;
  </code></pre>
  
  <p>That shows the word for the colour that I've assigned (you can see that in the attached image).
  <a href="https://i.stack.imgur.com/1lQcB.png" rel="nofollow noreferrer">How the colour shows</a> I've also got a 'ColourRGB' value for all my items and I want to make this the background colour for each  tag. Can anyone help me? Thanks </p>