PackageTrack
Sign in Get early access

material_color_utilities

Algorithms and utilities that power the Material Design 3 color system, including choosing theme colors from images and creating tones of colors; all in a new color space.

0.13.1 7.5M downloads/mo #79 most downloaded on pub.dev material-foundation/material-color-utilities

What this package is like to depend on

Last release 13 days ago

10 Aug 2026

Release timing varies

gaps range from 2 weeks to 1.2 years

Nearly every release is documented

notes for 20 of 20 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

20 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

20 releases · Oct 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 20
  1. 0.13.1 10 Aug 2026
    Release notes

    Changed

    • Use MathUtils.sanitizeDegreesDouble for hue value calculation in Cam16.

    Fixed

    • Fix documentation link for deprecated Scheme class.
    Open source →
  2. 0.13.0 04 Jun 2025
    Release notes

    Changed

    • Make all MaterialDynamicColors fields final.
    • Require Dart 3.5.
    • Optimize ARGB and HCT color conversions in DynamicScheme constructors.
    • Unify errorPalette parameter handling across DynamicScheme constructors.
    • Make Scheme internal implementation details private.

    Deprecated

    • Deprecate legacy CorePalette class in favor of CorePalettes.
    Open source →
  3. 0.12.0 06 Jun 2024
    Release notes

    Changed

    • Update MaterialDynamicColors to use the expressive on-colors spec.
    Open source →
  4. 0.11.1 13 Mar 2024
    Release notes

    Fixed

    • Fix Apache license.
    Open source →
  5. 0.11.0 11 Mar 2024
    Release notes

    Changed

    • Update TonalPalette.fromList so that it provides colors at any tone, not only at commonTones.
    Open source →
  6. 0.10.0 11 Mar 2024
    Release notes

    Changed

    • Update MaterialDynamicColors to new Contrast Surfaces spec.
    Open source →
  7. 0.9.0 11 Mar 2024
    Release notes

    Added

    • Add getters for DynamicScheme.

    Changed

    • Move DynamicScheme from scheme/ to dynamiccolor/.
    Open source →
  8. 0.8.0 29 Jun 2023
    Release notes

    Added

    • Add fruit salad color scheme.
    • Add rainbow color scheme.
    Open source →
  9. 0.7.0 22 Jun 2023
    Release notes

    Changed

    • Update DynamicColor to conform to the new contrast requirements.

      • Modify API for DynamicColor.
    Open source →
  10. 0.6.0 16 Jun 2023
    Release notes

    Added

    • Add key color to tonal palette.

    • Add key colors to the Material dynamic colors:

      • primaryPaletteKeyColor
      • secondaryPaletteKeyColor
      • tertiaryPaletteKeyColor
      • neutralPaletteKeyColor
      • neutralVariantPaletteKeyColor

    Changed

    • Scheme updates to align with recent Android Sys UI changes:
      • SchemeExpressive:
        • Primary hue + 240 from 120
        • Neutral hue + 15
        • Neutral variant hue + 15
      • SchemeTonalSpot:
        • Primary chroma = 36 from 40
      • SchemeVibrant:
        • Neutral chroma = 10 from 8

    Fixed

    • Fix outline when in dark mode to be tone 60.
    Open source →
  11. 0.5.0 03 May 2023
    Release notes

    Removed

    • Remove inverseOnPrimary, an unfounded dynamic color.
    Open source →
  12. 0.4.0 03 May 2023
    Release notes

    Added

    • Add label and description to each Variant.
    • Add xFixed Material dynamic colors.

    Changed

    • Update monochrome scheme to new spec.

    Fixed

    • Fix inverseSurface tone value.
    Open source →
  13. 0.3.0 13 Mar 2023
    Release notes

    Added

    • Add 4 new components:

      • contrast: Use Contrast for utility methods.

      • dislike: Use DislikeAnalyzer for checking and fixing universally disliked colors.

      • dynamiccolor: Use DynamicColor and MaterialDynamicColors for colors from a DynamicScheme, that adjust based on UI state (dark theme, style, preferences, contrast requirements, etc.)

      • temperature: Use TemperatureCache for analogous & complementary colors.

    • scheme: Add DynamicScheme and its subclasses:

      • SchemeExpressive
      • SchemeMonochrome
      • SchemeNeutral
      • SchemeTonalSpot
      • SchemeVibrant
      • SchemeFidelity
      • SchemeContent
    • hct: Add inViewingConditions to hct, for color relativity.

    • utilities: Add lstarFromY method, utility which is the inverse of yFromLstar.

    Changed

    • Export all public API in material_color_utilities.dart.
    • Bump minimum Flutter SDK version to 2.17.0.

    Fixed

    • Fix missing hashCode override for Hct.
    • Fix TonalPalette equality operator when different constructors are used (#56).
    Open source →
  14. 0.2.0 05 Aug 2022
    Release notes

    Added

    • Add support for content color.
    • Add outlineVariant and scrim colors.

    Changed

    • Rename CamSolver to HctSolver.

    Fixed

    • Correct repository in pubspec.
    Open source →
  15. 0.1.5 25 Apr 2022
    Release notes

    Added

    • Introduce CamSolver, a fast solver for the HCT equation. Highly performant, but a small breaking change.
    • Add explanation and link to dynamic_color packages.
    • Add operator == and toString overrides to Hct.

    Changed

    • Improve documentation for color_utils.dart.
    • Rename HctColor to Hct.

    Fixed

    • Fix README import.
    Open source →
  16. 0.1.4 21 Jan 2022
    Release notes

    Added

    • Allow creation of Scheme from a CorePalette with lightFromCorePalette and darkFromCorePalette
    Open source →
  17. 0.1.3 10 Dec 2021
    Release notes

    Added

    • Export Scheme.
    Open source →
  18. 0.1.2 02 Dec 2021
    Release notes

    Changed

    • Update Scheme tonal values.
    • Move matcher to pubspec's dev_dependencies.
    Open source →
  19. 0.1.1 28 Oct 2021
    Release notes

    Changed

    • Update pubspec description.

    Fixed

    • Fix matcher version incompatibility with Flutter stable.
    Open source →
  20. 0.1.0 28 Oct 2021
    Release notes

    Added

    • Create library.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive