Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/albi005/MaterialColorUtilities

Material You color algorithms for .NET
https://github.com/albi005/MaterialColorUtilities

color-scheme csharp dotnet dotnet-standard material material-design material-you monet theme

Last synced: 30 days ago
JSON representation

Material You color algorithms for .NET

Awesome Lists containing this project

README

        

# MaterialColorUtilities [![NuGet](https://img.shields.io/nuget/v/MaterialColorUtilities.svg)](https://www.nuget.org/packages/MaterialColorUtilities)

*C# implementation of Google's [Material color utilities](https://github.com/material-foundation/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

[GET STARTED](MaterialColorUtilities/README.md#walkthrough)

## MaterialColorUtilities.Maui [![NuGet](https://img.shields.io/nuget/v/MaterialColorUtilities.Maui.svg)](https://www.nuget.org/packages/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.

[GET STARTED](MaterialColorUtilities.Maui/README.md#getting-started)

## 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](https://github.com/albi005/MaterialColorUtilities/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](https://github.com/albi005/MaterialColorUtilities/issues). Before creating a pull request open an issue so that we can discuss your ideas.