CSS Colors

CSS gives us a powerful array of ways to select colors. We can be very exact, specifying specific values for RGB like so:

.MAIN > * { color: rgb(118,109,199); }

This specifies that all headings will be light purple.

We can also use some built in constants for certain colors:

.MAIN h1 { color: darkblue; }

Other color rules exist - google is your friend at this point.

Â