Text Colors
Use the color
property to set text colors using names, hex codes, or RGB.
Backgrounds
Use background-color
or background-image
to set backgrounds.
Example
body { background-color: lightblue; }
h1 { color: navy; }
Use the color
property to set text colors using names, hex codes, or RGB.
Use background-color
or background-image
to set backgrounds.
body { background-color: lightblue; }
h1 { color: navy; }