Boot Camp–CSS–I swear I’m doing this–Applying CSS
Join me on Mobee and earn rewards while you shop!

Boot Camp–CSS–Color


The next section is all about color:

It mentions all the different ways to describe color, from key words, to hex code, rbg, and even HLS colors.

Either color or background color can be used:


p {

     color:  green;

     background-color: black;



Note that you need to surround CSS with { and } and delimit by : and ;

; end the css

: splits the selector and the property.


It’s always best to separate everything with white space, and not only makes it more readable, but easier to change.


Feed You can follow this conversation by subscribing to the comment feed for this post.

The comments to this entry are closed.