material_color_utilities

pub package

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.

This is a low-level package. For developers looking to adopt Material 3 features such as dynamic color and color harmonization in their apps, please see the dynamic_color package.

Getting started

Add the following to your deps:

"//third_party/dart/material_color_utilities",

Usage

import 'package:material_color_utilities/material_color_utilities.dart';

For more information, see the main README.

Contributing

This repo is not accepting external contributions, but feature requests and bug reports are welcome on GitHub.

Publishing

  1. Update version and changes in CHANGELOG.md.
  2. Update version in pubspec.yaml.
  3. Publish with dart pub publish or flutter pub publish.