Page Styling - Background Color

Overview


The background color of a page can easily be set using CSS. This can be done with either the page style component or the external style component.

CSS


The css for setting the background color of HTML page is the following.


body {
	background-color: #DCDCDC;
}
					


Here, the color is set using a HEX value for a shade of grey.