About the Material 3 theme builder

Material 3 builds a whole color scheme from a single seed color. The theme builder uses Google's material-color-utilities library, the same code behind Android dynamic color, to make light and dark schemes and tonal palettes.

You can preview the scheme on sample Inbox, Settings, Chat and Shop screens and export it to Jetpack Compose, Android XML, Flutter or CSS custom properties.

How to use it

  1. Enter a seed color or pick one of the classic Material colors.
  2. Choose a scheme variant (Tonal spot is Android's default) and a contrast level.
  3. Check the light and dark previews, then copy the Compose, XML, Flutter or CSS code.

Questions

What is a seed color in Material 3?

The seed color is the single color a Material 3 scheme is generated from. It is converted to the HCT color space and turned into five tonal palettes (primary, secondary, tertiary, neutral and neutral variant) from which every color role is picked.

What are Material 3 color roles?

Named slots such as primary, onPrimary, primaryContainer, secondary, tertiary, surface, surfaceContainer, outline and error. Components use roles instead of fixed colors, so the same UI works in light, dark and high contrast.

What do the scheme variants do?

Tonal spot is Android's default dynamic color. Fidelity and Content keep the seed color close to primary, Vibrant and Expressive push saturation and hue, Neutral is muted, and Monochrome is pure grayscale.

What are the contrast levels?

Standard, medium and high. Medium and high raise the contrast between each role and its "on" color for users who need it, matching Android's contrast setting.