curtis-random-color
v1.0.0
Published
Curts Random Color is a simple npm package that provides a function to generate random hexadecimal color codes.
Downloads
1
Readme
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.