xxxxxxxxxx
<body style="background-color:powderblue;">
<p style="background-color:tomato;">This paragraph has a red background.</p>
</body>
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>HTML Backgorund Color</title>
</head>
<body style="background-color:grey;">
<h1>Products</h1>
<p>We have developed more than 10 products till now.</p>
</body>
</html>
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: yellow;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<p>This is a sample paragraph.</p>
</body>
</html>
xxxxxxxxxx
<body style="background-color:rgba(89, 0, 255, 0.334)"> </body> <!--purple/pink-->
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<style>
.myElement {
background-color: red;
}
</style>
</head>
<body>
<div class="myElement">
This is a div element with a red background color.
</div>
</body>
</html>