@jaycd598/generate-random-color

1.0.0 • Public • Published

Color Generator

A simple npm package for generating colors.

Installation

To install the Random Color Generator package, use the following command:

npm i @jaycd598/generate-random-color

Usage

const { generateRandomHexColor, generateRandomRGBColor } = require('@jaycd598/generate-random-color');

// Generate and display random colors
const hexColor = generateRandomHexColor();
const rgbColor = generateRandomRGBColor();

console.log('Random HEX color:', hexColor);
console.log('Random RGB color:', rgbColor);

Package Sidebar

Install

npm i @jaycd598/generate-random-color

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.86 kB

Total Files

3

Last publish

Collaborators

  • jaycd598