npm.io
1.0.0 • Published 2 years ago

newcolorgen

Licence
MIT
Version
1.0.0
Deps
1
Size
1 kB
Vulns
0
Weekly
0

newcolorgen

A package for generating color palettes.

Installation

You can install newcolorgen via npm:

npm install newcolorgen

Usage

const generatePalette = require('newcolorgen');

// Example usage
const baseColor = '#3498db'; // Base color in hex format
const numColors = 5; // Number of colors in the palette

const colorPalette = generatePalette(baseColor, numColors);
console.log('Generated Color Palette:', colorPalette);

License

This package is open source and available under the MIT License.

Keywords