Color Systems

Color is an elaboration on two principles from GUI Before Computers: Gestalt similarity (things that look alike seem grouped) and signal-to-noise (color that doesn’t carry meaning is noise). It’s also an accessibility concern.

Operational guide

Material Design’s color system is the best operational reference. It defines five semantic color roles: primary (key actions), secondary (less prominent actions), tertiary (accents), error (destructive/failure states), and surface (backgrounds/containers). Each role has tonal variants for different elevations and states.

The key insight: color roles are semantic, not aesthetic. Arbitrary hex values break when you add dark mode, new components, or accessibility requirements. Semantic roles scale because the role stays the same even when the value changes.

Key ingredients for an agent

Reference implementations