How can I set the background color in CSS by receiving the color value dynamically?
<p>I'm using the following code: </p>

<pre><code>&lt;style&gt;
    .color-3 {
    background-color: &lt;%= this.BckColor %&gt;;
    }
&lt;/style&gt;
</code></pre>

<p>to receive a value from a C# page. My C# code receives a background image color from a page called 'settings' page, and the C# code is:</p>

<pre><code> string BckColor ="#" + Convert.ToString((Settings["DOTCOLOR"]));
</code></pre>

<p>but when I do this, the background color is missing. How can I solve this?</p>
