text background color css code example
Example 1: css background color
body {
background-color: green;
}
Example 2: text color css
.class {
color: white;
}
Example 3: css set background color
body {
background-color: red;
}
Example 4: text color css
body {
color: blue;
}
h1 {
color: green;
}
Example 5: text background color css
body {
background-color:rgb(130, 50, 29);
}
Example 6: text color css
.YourClass {
color: #ff0000;
}