Flutter 3.50 is live! Read the blog post

Color Generator

Pick a seed color, preview tints & shades, and copy a ready-to-use Flutter snippet.

Tints & shades (for reference)

#CCEBFF
#80CCFE
#34ADFE
#018AE4
#015C98
#002E4C

Flutter code

ColorScheme.fromSeed(seedColor: Color(0xFF0175C2))

Pass this into ThemeData(colorScheme: ...) — Flutter generates the full tonal palette for you. This tool shows a quick visual preview only, not Material's exact algorithm.

Related Tools

// more about this tool

Why use this tool

Material 3 builds an app's entire color scheme — primary, secondary, surface, error, and their variants — from a single seed color, rather than requiring you to pick every shade by hand. This tool lets you preview tints and shades derived from a seed color and copy a ready-to-use Flutter snippet, instead of guessing hex values in an editor and rebuilding the app to see how they look.

Pick a seed color and copy a ColorScheme.fromSeed(seedColor: Color(0xFF...)) line straight into your ThemeData. No manual hex-to-Color conversion needed — just paste the snippet and Flutter generates the full tonal palette from it at runtime.

How it works

  1. Pick a seed color with the color picker, or type a hex value directly.
  2. Review the six tint/shade swatches generated from that seed for a quick visual reference.
  3. Copy the generated ColorScheme.fromSeed(...) snippet.
  4. Paste it into your ThemeData(colorScheme: ...) in Flutter.

Example

Generated snippet for #0175C2

ColorScheme.fromSeed(seedColor: Color(0xFF0175C2))

FAQ

What is Material 3 seed-color theming?

Material 3 derives an entire app's color roles (primary, secondary, tertiary, surface, error, and their container/variant pairs) algorithmically from one seed color, so changing a single hex value re-themes the whole app consistently instead of needing every shade picked by hand.

Does the preview exactly match ColorScheme.fromSeed() at runtime?

No — this tool generates a simplified set of tint/shade swatches for a quick visual reference, not Material's exact tonal-palette algorithm. Treat the swatches as a preview, and trust the actual Color(0xFF...) snippet run through Flutter for the real result.

Can I pick a light or dark variant?

Not directly in this tool — ColorScheme.fromSeed() itself takes a brightness parameter (Brightness.light or Brightness.dark) that you set when you use the generated snippet in your ThemeData.

How do I use the copied snippet in ThemeData?

Pass it as the colorScheme argument: ThemeData(colorScheme: ColorScheme.fromSeed(seedColor: Color(0xFF0175C2))) — Flutter then derives every color role in the app from that one seed.

Why would I pick a different seed color than my logo's primary color?

Material 3's algorithm is tuned for contrast and accessibility across light and dark themes, which doesn't always map cleanly from a brand color chosen for a static logo. It's common to pick a seed that's close to the brand color but adjusted slightly so the derived tonal palette reads well as both a light and a dark theme.

Can I use this for a non-Flutter project?

The generated swatches are useful as a general color-palette preview for any project, but the copied snippet is Flutter-specific — for other frameworks you'd need to translate the same seed color through that framework's own color-scheme generator.