colormind-magic-palette
v0.0.7
Published
Generates a palette of colors. Using Colormind's API.
Downloads
7
Maintainers
Readme
Colormind's Palette Generator
We use Colormind's API to generate logical palettes. You can use this package both globally
and locally
.
While we can generate a complete random palette for you, you can also give us some color hints.
'N' means random. If you have a color of choice in your mind don't hesitate to provide one.
Installation
Install colormind-magic-palette
with npm
Global Usage
npm install -g colormind-magic-palette
palette
Local Usage
npm install colormind-magic-palette
const colormind = require('colormind-magic-palette');
const main = async () => {
const palette = await colormind.random();
console.log(palette);
// output: [ '#95341a', '#b5ad69', '#947349', '#50241a', '#441308' ]
};
main();