# newcolorgen

> A package for generating color palettes.

Latest version **1.0.0** (published 2024-03-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install newcolorgen
pnpm add newcolorgen
yarn add newcolorgen
bun add newcolorgen
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-03-04 |
| First published | 2024-03-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Renderlynx |
| Maintainers | renderlynx |
| Keywords | color, palette, generator |

## Links

- npm: https://www.npmjs.com/package/newcolorgen
- Repository: https://github.com/Renderlynx/newcolorgen
- Homepage: https://github.com/Renderlynx/newcolorgen#readme
- npm.io page: https://npm.io/package/newcolorgen

## Dependencies (1)

- [chroma-js](https://npm.io/package/chroma-js.md) ^2.1.1

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2024-03-04

## README

# newcolorgen

A package for generating color palettes.

## Installation

You can install `newcolorgen` via npm:

```bash
npm install newcolorgen
```

## Usage

```javascript
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](https://opensource.org/licenses/MIT).

---
_Source: https://npm.io/package/newcolorgen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
