Awesome
MaterialColorUtilities
C# implementation of Google's Material color utilities
Features
- HCT: a color space similar to HSL but with perceptually accurate colors
- Quantize and score: extract the best colors from an image for theming
- Scheme: turn a single color into a palette for theming
- Style: different ways to generate palettes, available from Android 13
- Generic scheme: color schemes can be easily converted to use the color type you need
MaterialColorUtilities.Maui
A library for adding Material You colors to your .NET MAUI app
Features
- Dynamic theming on every platform (except iOS)
- Light/dark theme support
- Automatically storing and reapplying seed color/dark mode/style preferences
All of these can be turned on/off at any time.
Samples
There are sample projects for the console, Blazor and .NET MAUI in the Playground folder. These showcase different ways to use the two libraries.
Questions
You can ask questions under the Discussions tab. Don't forget to check the source code when trying to solve a problem.
Contributing
If you have found a bug or want a new feature, open a new issue. Before creating a pull request open an issue so that we can discuss your ideas.