Get started with material-colors CDN

ISC licensed

Library: Material-colors accesses Google Material Design colors.

Tags:
  • colors
  • palette
  • design
  • css
  • sass
  • scss
  • less
  • stylus
  • javascript

Stable version

Copied!

How to start using material-colors CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with material-colors CDN - cdnhub.io</title>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/colors.min.js"></script>
  <style>
    .my-button {
      background-color: mat-indigo-500;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  <button class="my-button">Click me</button>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions