Module 04 of 11

Typography & Colors

Lessons

About This Module

Most of a web page is text and color, so small decisions here have an outsized effect on how professional, readable, and accessible your design feels. This module covers the CSS that controls both: how to choose and size fonts, how to pick the right units, and how to describe colors in a way that is easy to adjust later.

It starts with the font properties — family, size, weight, and style — and then explains CSS units such as px, em, rem, and the viewport units, including why rem is a common choice for text that respects a user's settings. From there you'll compare color formats (named colors, HEX, RGB, and HSL) and finish with gradients, which let you build backgrounds directly in CSS without an image.

Watch the lessons in order, then continue on to Positioning & Stacking.

Lessons

4 videos
01

CSS Font Based Properties: Family, Size, Style, Variant, Weight

A tour of the CSS font properties that style text on a page, including font-family, font-size, font-style, font-variant, and font-weight.

02

CSS Units of Measurement [rem, em, vw, vh, px, %]

Covers the units you will actually use — absolute pixels and relative units like percent, viewport width and height, rem, and em — with when to use each.

03

CSS Color Systems: HSL, RGB, HEX

Colt's Code Camp walks through named colors, RGB, hexadecimal, HSL, and the alpha variants, so you can pick the right format for the job.

04

CSS Gradients Explained

The basics of using CSS gradients to create backgrounds on the fly and add interesting visual effects without image files.