# Material Color Utilities update in Flutter

> The latest Material Color Utilities have been applied to the Flutter Material library.




:::important
These breaking change docs are accurate, as of the release
under which they are published. Over time, the
workarounds described here might become inaccurate.
We don't, in general, keep these breaking change docs up
to date as of each release.

The [breaking change index file](/release/breaking-changes)
lists the docs created for each release.
:::


## Summary

This release updates `package:material_color_utilities` from
`v0.11.1` to `0.13.0`.
This updated package includes algorithm changes that
align with the [Material 3 tokens update][].

The algorithm changes affect the same properties:

* `onPrimaryContainer`
* `onSecondaryContainer`
* `onTertiaryContainer`
* `onErrorContainer`

The changes will be reflected when generating a scheme using

* `ColorScheme.fromSeed`
* `ColorScheme.fromImageProvider`
* `ThemeData(colorScheme:..)`

[Material 3 tokens update]: /release/breaking-changes/material-design-3-token-update

## Migration guide

In general, we believe the colors generated will be more legible and visually
appealing, but if you want to maintain the previous colors when upgrading,
you will have to manually set those properties to their desired color after
generating.

## Timeline

Landed in version: 3.39.0-1.0.pre-250<br>
In stable release: 3.41

## References

* [Manually roll material_color_utilities][]

[Manually roll material_color_utilities]: https://github.com/flutter/flutter/pull/170000

