Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Material Design
  3. material-color

material-color

MITCSS2.3.2

A comprehensive color palette based on Google's Material Design, available for Less, Sass, and Stylus.

GitHubGitHub
137 stars10 forks0 contributors

What is material-color?

Material Design Color is a library that provides Google's Material Design color palette as variables for CSS preprocessors like Less, Sass, and Stylus. It solves the problem of manually defining and maintaining Material Design colors in web projects by offering a standardized, easy-to-use set of color variables.

Target Audience

Frontend developers and designers building web interfaces that follow Material Design guidelines, particularly those using CSS preprocessors.

Value Proposition

Developers choose Material Design Color for its simplicity, comprehensive coverage of the Material Design palette, and support for multiple preprocessors without any dependencies.

Overview

:high_brightness: The colour palette, based on Google's Material Design, for use in your project.

Use Cases

Best For

  • Implementing Material Design colors in Less, Sass, or Stylus projects
  • Ensuring consistent color usage across a design system
  • Rapid prototyping with Material Design's color palette
  • Generating CSS classes for colors programmatically
  • Maintaining accessible text colors based on Material Design Typography
  • Avoiding manual definition of Material Design color values

Not Ideal For

  • Projects using CSS-in-JS libraries like styled-components or Emotion, as it relies on traditional CSS preprocessors
  • Applications not following Material Design guidelines where the specific palette is unnecessary
  • Teams needing real-time color manipulation or dynamic theming in JavaScript, as it provides static variables
  • Developers working with plain CSS or vanilla styles without a preprocessor setup

Pros & Cons

Pros

Complete Color Palette

Includes every Material Design color and shade, such as red-100 to blue-A700, ensuring full compliance with the spec, as stated in the README's 'Complete Palette' feature.

Multi-Preprocessor Support

Works seamlessly with Less, Sass, and Stylus, making it adaptable to various development workflows, highlighted in the README's 'Supported languages' section.

Programmatic Class Generation

Offers a mixin to generate CSS classes for colors and properties, reducing manual coding, demonstrated in the README's 'Mixin' example for Less, SCSS, and Stylus.

Typography Variables

Provides additional variables for text colors based on Material Design Typography, aiding accessibility, as mentioned in the README's 'Additional variables' section.

Cons

Preprocessor Dependence

Tied to CSS preprocessors like Less, Sass, or Stylus, and lacks native support for CSS Custom Properties or modern styling methods, limiting use in projects that avoid preprocessors.

Static Color System

Does not include built-in mechanisms for dynamic themes or dark mode, requiring manual adjustments for advanced use cases, as the README only covers static variables.

Limited Ecosystem Integration

May not integrate well with popular frontend frameworks relying on CSS-in-JS, such as React with styled-components, as it's designed for traditional preprocessor workflows.

Frequently Asked Questions

Quick Stats

Stars137
Forks10
Contributors0
Open Issues1
Last commit9 years ago
CreatedSince 2014

Tags

#design-system#stylus#sass#google-material#frontend#ui-design#css-preprocessors#google#less#material-design#scss#color-palette#material#css

Included in

Material Design649
Auto-fetched 9 hours ago

Related Projects

material-uimaterial-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.

Stars99,028
Forks32,555
Last commit15 hours ago
material-design-iconsmaterial-design-icons

Material Design icons by Google (Material Symbols)

Stars53,899
Forks9,746
Last commit4 days ago
materializematerialize

Materialize, a CSS Framework based on Material Design

Stars38,808
Forks4,600
Last commit19 days ago
material-design-litematerial-design-lite

Material Design Components in HTML/CSS/JS

Stars32,189
Forks4,897
Last commit4 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub