Skip to content

uetop/color-generate

 
 

Repository files navigation

Color Generate

License Version Latest release Stars

Referring to Ant Design, enter a primary color to generate color steps.

Sorry, this library has been suspended for some reason, You can see Docs to use it

Documentation

Docs are available at here

Demo

Demo

Demo

Installation

CLI

# npm
$ sudo npm install color-generate -g

# pnpm
$ pnpm add color-generate -g

YARN | NPM | PNPM

yarn add color-generate

npm install color-generate

pnpm add color-generate

CDN

  • unpkg

    • https://unpkg.com/color-generate/dist/color-generate.umd.js
    • https://unpkg.com/color-generate/dist/color-generate.es.js
  • jsdelivr

    • https://cdn.jsdelivr.net/npm/color-generate/dist/color-generate.umd.js
    • https://cdn.jsdelivr.net/npm/color-generate/dist/color-generate.es.js

Examples

CLI

# help
$ color-generate -h

# just print color
$ color-generate g -c 099dfd

# generate file Sass/Less
$ color-generate g -c 099dfd -f

Module

import { generate } from 'color-generate'

Broswer

<script src="https://cdn.jsdelivr.net/npm/color-generate/dist/color-generate.umd.js"></script>

<script>
  // window mounts the `ColorGenerate`
  console.log("colors", ColorGenerate('#099dfd'));
</script>

Links

About

🔥 An awesome theme color generation scheme.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.8%
  • TypeScript 24.7%
  • HTML 21.7%
  • Smarty 4.8%