0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>The background color can be set using the background-color CSS property.</p>
1
<p>The background color can be set using the background-color CSS property.</p>
2
<p>Recall that colors in CSS can be specified in different formats: in hexadecimal (or HEX), RGB, or RGBA as well as using such color constants such as red or green.</p>
2
<p>Recall that colors in CSS can be specified in different formats: in hexadecimal (or HEX), RGB, or RGBA as well as using such color constants such as red or green.</p>
3
<p>You can find out more about colors on the page<a>HTML Colors</a>.</p>
3
<p>You can find out more about colors on the page<a>HTML Colors</a>.</p>
4
<p>Here is an example of how the property is used:</p>
4
<p>Here is an example of how the property is used:</p>
5
selector { background-color: #ff0000; }
5
selector { background-color: #ff0000; }