CSS Colors and CSS Background
Color:
The color property typically defines the color of the text content of an element.
Ex.
body {
color: #000000;
}
Colors defined in three ways:
-
RGB
-
HEX
-
Color name
Background:
CSS background properties are used to define background styles for the elements.
CSS used several Backgrounds like:
Background-color, background-image, background-repeat, background-attachment and background-position
.
Ex.
body {
background-color: #add color code here;
}