Module 03 of 12

Color Systems

Lessons

About This Module

Color is one of the first things a design system gets wrong and one of the hardest to fix later. A handful of hex codes copied into every file turns a rebrand or a dark mode into a months-long cleanup. A real color system separates the raw palette from the meaning each color carries, so a button, an error message, or a surface can change appearance without anyone hunting through the codebase.

This module starts with palettes and color roles: building shades from a base color and naming colors by purpose, such as primary, surface, and error, instead of by appearance. It then covers accessible contrast, since a palette that fails WCAG ratios fails real users. Finally, it moves into light and dark themes, where those semantic roles pay off, and shows how to build themes in plain CSS.

Watch the lessons in order, then continue on to Typography.

Lessons

4 videos
01

Figma Tutorial for Beginners: Styles and Libraries Explained

Ansh Mehra covers declaring color styles, generating shades and palettes, defining light and dark themes, and moving from raw color values to named color tokens, the structure behind every color system.

02

Designing in the Browser: Color Contrast

Una Kravets from the Chrome team looks at color contrast on the web, showing how to check and reason about contrast so your palette stays readable and accessible.

03

Designing in the Browser: Dark Mode

Another episode from Una Kravets, this time on dark mode: how to approach a dark theme on the web so it works as part of your color system and not as a bolt-on afterthought.

04

GUI Challenges: Dark, Light and Dim Color Schemes

A hands-on build of dark, light, and dim themes using HSL colors in CSS. The result works across modern browsers, is accessible, and sets up an architecture you can extend with more themes.