14
Color in CSS
The web has come a long way since its beginning. It used to be that the only way to get fun colors or complex graphics into a webpage was by incorporating images. But now that the web supports a wide range of colors—along with gradients, patterns, and more—you can use CSS to add a lot of color.
Finding the right color scheme for a website is key to good design. In this chapter, you’ll learn all the CSS you need to know in order to customize the colors of elements, sections, and states.
How Computer Monitors Work
Before jumping into choosing colors, you should know a little bit about how computers represent colors. ...
Get HTML and CSS: Visual QuickStart Guide, 9th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.