{"repo":"material-foundation/material-color-utilities","free":true,"listed":false,"github":"https://github.com/material-foundation/material-color-utilities","clone":"git clone https://github.com/material-foundation/material-color-utilities.git","description":"Color libraries for Material You","language":"TypeScript","stars":2243,"topics":["dart-library","dart-package","material-design","typescript-library","cpp-library","java-library"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Material Color Utilities Color is a foundational part of the Material Design system, alongside typography and shape. In products, color can communicate brand, reinforce meaning through semantic roles, and improve usability through accessible contrast. Historically, teams hand-picked many colors to cover all UI use cases. In Material 3, dynamic color shifts Library availability Language Availability Location ----------- ------------- -------- C++ ✅ Dart ✅ Java ✅ MDC-Android Swift ✅ TypeScript ✅ Kotlin ✅ Need another platform/language? Check the existing issues or open a new one. Capabilities Overview The library consists of various components, each having its own folder and tests, designed to be as self-contained as possible. This enables seamless integration of subsets into other libraries, like Material Design Components and Android System UI. Some consumers do not require all components, for example, MDC doesn’t need quantization, scoring, image extraction. Components Purpose ---------------- --------------------------------------------------------- blend Interpolate, harmonize, animate, and gradate colors in HCT contrast Measure contrast, obtain contrastful colors dislike Check and fix universally disliked colors dynamiccolor Obtain colors that adjust based on UI state (dark theme, style, preferences, contrast requirements, etc.) hct A new color space (hue, chrome, tone) based on CAM16 x L , that accounts for viewing conditions palettes Tonal palette — range of colors that","default_branch":null,"files":null,"tree":[],"storefront":"/r/material-foundation","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/material-foundation/material-color-utilities/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}