1.0.2 • Published 5 months ago

hex-gen-tool v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

🎨 Hex Generator

A simple and lightweight package for generating random hex colors for styling your app in Node.js.

🚀 Introduction

Hex Generator is a lightweight Node.js package that generates a random hex color code for styling your app. It outputs a random color in the form of a hex code, and the text displaying the color will appear in the color it represents. Perfect for dynamic styling or creative development.

With Hex Generator, you can quickly generate random colors for your web applications, terminal styling, or just for fun!


📦 Installation

You can install Hex Generator via npm:

npm install hex-gen-tool

📖 Usage

Hex Generator works through the command line interface (CLI). After installation, you can generate a random hex color by running the following command:

npx random-hex-color

Alternatively, you can call it directly from the command line like this (if you install it globally):

random-hex-color

Each time you run the command, it will print a random color and show the text in that color.


🎨 Generated Color

Each time you run the command, a random hex color code will be generated, and the message will be displayed in that color.

Example output: Your random color is: #A3F7D7.

The text will appear in any other randomly generated hex color.

⚙️ Configuration

Hex Generator works out of the box. There are currently no additional configuration options, but future versions may include options for custom color formats or specific color ranges.


🛠️ Requirements

  • Node.js >=16.0
  • npm >=7.0

🤝 Contributing

We welcome contributions! If you’d like to improve Hex Generator, feel free to:

  1. Fork the repository
  2. Clone your fork:
    git clone https://github.com/yourusername/hex-gen-tool.git
  3. Create a new branch:
    git checkout -b feature-new-feature  
  4. Make your changes and commit them
  5. Push your changes:
    git push origin feature-new-feature
  6. Submit a pull request 🚀

📄 License

This project is licensed under the MIT License.


🌟 Credits

This project was created by Gabriele Meucci.

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago