curtis-random-color

1.0.0 • Public • Published

Curts Random Color

Curts Random Color is a simple npm package that provides a function to generate random hexadecimal color codes.

Installation

To install Curts Random Color, use npm:

npm install curts-random-color

Then, you can use it in your code as follows:

const generateRandomColor = require("curts-random-color");

// Generate a random color
const randomColor = generateRandomColor();
console.log(randomColor); // Output: #3a7bd5

API

generateRandomColor()

Generates a random hexadecimal color code.

Returns: string - A randomly generated hexadecimal color code in the format "#RRGGBB".

License

This package is licensed under the MIT License. See the LICENSE file for details.

About

Curts Random Color is developed and maintained by Your Curtis.

Readme

Keywords

none

Package Sidebar

Install

npm i curtis-random-color

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.45 kB

Total Files

4

Last publish

Collaborators

  • curts-packages