Understanding Color in CSS

This text uses HEX color: #0156B2 more specifically named: BLUE LOBSTER
This text is inside a gradient blue background.

The Box Model

This box has padding, a dashed border, and margin to demonstrate the box model.

Explain and demonstrate what you have learned in this unit, including colors and the box model and explain how to implement it the design of CSS with examples.

Colors enhances the visual appeal and readability. CSS has different ways to define colors:

The Box Model structures layouts by defining space and elements dimensions. The elements to make the box is: