Color roles
M3 assigns colors to roles: primary, secondary, tertiary, error, surface, and their on-color counterparts. Each role has a semantic purpose.
Primary
On Primary
Primary Container
On Primary Container
Secondary
On Secondary
Secondary Container
On Secondary Container
Tertiary
On Tertiary
Tertiary Container
On Tertiary Container
Surface
Surface Container
Surface Container Highest
Surface Variant