O'Reilly logo

Sams Teach Yourself HTML and CSS in 24 Hours by Michael Morrison, Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 9. Working with Colors

All the sample pages shown in this book thus far have used a standard white background and black text. That’s not a requirement, although some variation of dark text on a light background is the most common color combination you’ll find online. After a brief overview of some best practices in color selection, you’ll learn when you can use colors, how to pick colors, and how to specify colors when creating various elements of your web site.

Best Practices for Choosing Colors

I can’t tell you exactly which colors ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required