All Projects → material-foundation → material-color-utilities

material-foundation / material-color-utilities

Licence: Apache-2.0 license
Color libraries for Material You

Programming Languages

dart
5743 projects
typescript
32286 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to material-color-utilities

credit card validator
A Dart package that validates credit card numbers, expiration dates, and security codes (CVV/CVC) based on the type of credit card
Stars: ✭ 19 (-96.86%)
Mutual labels:  dart-library, dart-package
Motion-Tab-Bar
A beautiful animated flutter widget package library. The tab bar will attempt to use your current theme out of the box, however you may want to theme it.
Stars: ✭ 237 (-60.83%)
Mutual labels:  dart-library, dart-package
crypton
A simple Dart library for asymmetric encryption and digital signatures
Stars: ✭ 25 (-95.87%)
Mutual labels:  dart-library, dart-package
open route service
An encapsulation made around openrouteservice API for Dart and Flutter projects. Made for easy generation of Routes and Directions on Maps, Isochrones, Time-Distance Matrix, Pelias Geocoding, POIs, Elevation and routing Optimizations using their amazing API.
Stars: ✭ 20 (-96.69%)
Mutual labels:  dart-library, dart-package
flutter sliding tutorial
User onboarding library with smooth animation of objects and background colors
Stars: ✭ 127 (-79.01%)
Mutual labels:  dart-library, dart-package
Flogs
An Advanced Logging Framework develop in flutter that provides quick & simple logging solution.
Stars: ✭ 158 (-73.88%)
Mutual labels:  dart-library, dart-package
stash
Key-value store abstraction with plain and cache driven semantics and a pluggable backend architecture.
Stars: ✭ 71 (-88.26%)
Mutual labels:  dart-library, dart-package
dart-emoji
A light-weight Emoji 📦 for Dart & Flutter with all up-to-date emojis written in pure Dart 😄 . Made from 💯% ☕ with ❤️!
Stars: ✭ 16 (-97.36%)
Mutual labels:  dart-library, dart-package
Getwidget
Most popular and easy to use open source UI library with 1000+ Widgets to build flutter app.
Stars: ✭ 2,555 (+322.31%)
Mutual labels:  dart-library, dart-package
dartexif
Dart package to decode Exif data from tiff, jpeg and heic files
Stars: ✭ 16 (-97.36%)
Mutual labels:  dart-library, dart-package
l
Cross-platform html/io [L]ogger with simple API.
Stars: ✭ 26 (-95.7%)
Mutual labels:  dart-library, dart-package
palace
server side framework for dart inspired by express.js
Stars: ✭ 32 (-94.71%)
Mutual labels:  dart-library, dart-package
validated
Ultimate dart / flutter string validators 💃💃
Stars: ✭ 21 (-96.53%)
Mutual labels:  dart-library, dart-package
ColorTranslator
A JavaScript library, written in TypeScript, to convert among different color models
Stars: ✭ 34 (-94.38%)
Mutual labels:  typescript-library
typijs
The Angular CMS Framework for building fully-featured SPA sites powered by NodeJS and MongoDB with TypeScript
Stars: ✭ 141 (-76.69%)
Mutual labels:  typescript-library
ooop
OOP has never been sooo professionally over engineered before.
Stars: ✭ 20 (-96.69%)
Mutual labels:  typescript-library
flutter wasm
WebAssembly interpreter for Flutter apps.
Stars: ✭ 22 (-96.36%)
Mutual labels:  dart-library
orkid-node
Reliable and modern Redis Streams based task queue for Node.js 🤖
Stars: ✭ 61 (-89.92%)
Mutual labels:  typescript-library
flutter facebook app events
Flutter Plugin for Facebook App Events
Stars: ✭ 88 (-85.45%)
Mutual labels:  dart-package
moment-recur-ts
Conversion of the moment-recur library into TypeScript.
Stars: ✭ 17 (-97.19%)
Mutual labels:  typescript-library

Material color utilities

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

materialyou.mp4

Library availability

Language Availability Package
C/C++ Coming soon
Dart pub package
Java Coming soon
Objective-C Coming soon
TypeScript npm package

Need another platform/language? Check the existing issues or open a new one.

Usage

Image to color

A common use case for this library is extracting a single color from an image. Here's how to do that:

Coming soon

Cheat sheet

library cheat sheet

Components

The library is built out of multiple components

  • each with its own folder and tests
  • each as small as possible

This enables easy merging and updating of subsets into other libraries, such as Material Design Components, Android System UI, etc.

  • Not all consumers will need every component — ex. MDC doesn’t need quantization/scoring/image extraction

Quantize

  • Turns a wallpaper into N colors
  • Celebi, which runs Wu, then WSMeans

Score

  • Rank colors for suitability for theming
  • Quantize buckets a wallpaper into 128 colors
  • Enables deduplicating and ranking that output.

Scheme

  • Mapping from roles, i.e. names like primary, to colors.

Palettes

  • Tonal Palette — range of colors that varies only in tone
  • Core Palette — set of tonal palettes needed to create Material color schemes

HCT

  • Hue, chroma, tone
  • A new color space based on CAM16 x L*
  • Accounts for viewing conditions

Blend

  • Color interpolation in HCT
  • Harmonizing, animations, gradients

Utils

  • Color — conversions between color spaces needed to implement HCT/CAM16
  • Math — functions for ex. ensuring hue is between 0 and 360, clamping, etc.

Background

The Science of Color & Design - Material Design

Design Tooling

The Material Theme Builder Figma plugin and web tool are recommended for design workflows. The Material Theme Builder delivers dynamic color to where design is done. Designers can take an existing design, and see what it looks like under different themes, with just a couple clicks.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].