CSS — Colors
Colors are an important part of web design because they make your site visually appealing and easy to read. CSS lets you set colors for text, backgrounds, borders, and more. You can use color names like red or blue, hexadecimal codes like #ff0000, or RGB values like rgb(255, 0, 0). A consistent color scheme gives your website a professional look. It's also important to choose colors that provide good contrast so text remains readable for everyone, including those with vision difficulties.
body { background: #f0f0f0; }
h1 { color: green; }
div { border: 2px solid #333; }