html background color code code example
Example 1: html background color
<html>
<body style="background-color:red;">
<p> test <p/>
<body/>
</html>
Example 2: how to make a background color in html
<body style="background-color: #fff">
<!---this will change the body color---!>
</body>
Example 3: white color html code
Hex => #FFFFFF
RGBA => rgba(255,255,255,1)
RGB => rgb(255,255,255)
Example 4: html color codes
#1ca69d #e31ce0 #c13e72 #99b34d #3affb9
#6c7093 #b35ba0 #1b1452
Example 5: html color codes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lists Page</title>
<style>
body {
background-color: black;
text-shadow: 0px 0px 10px blue;
font-family: Trebuchet MS;
font-size: 20px;
}
h1 {
color: white;
}
p {
color:rgb(255, 230, 8);
text-shadow: 0px 1px 30px blue;
}
h2 {
color:white;
font-size: 30px;
}
ul {
list-style-type: circle;
color:rgb(255, 0, 98);
text-shadow: 0px 0px 5px blue;
}
ol {
color:rgb(250, 105, 259);
line-height: 30px;
}
h4 {
color: rgb(0, 255, 55);
}
</style>
</html>
Example 6: background-color html
background-color=red;