Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.33 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.33 KB

Color Palette Generator

Overview

This project is a simple color palette generator implemented in JavaScript. It allows users to toggle between light and dark modes, randomize solid and gradient colors, and copy the generated color codes to the clipboard.

Features

  • Dark and Light Modes: Users can switch between dark and light modes for a personalized experience.

  • Random Color Generation:

    • Solid Color: Generate a random solid color.
    • Gradient Color: Generate a random gradient color.
  • Copy to Clipboard:

    • Users can easily copy the generated color codes to the clipboard.

How to Use

  1. Toggle Dark/Light Mode:

    • Click on the dark/light mode toggle button to switch between modes.
  2. Generate Random Colors:

    • Click on the "Random Solid Color" button to generate a random solid color.
    • Click on the "Random Gradient Color" button to generate a random gradient color.
  3. Copy Color Code:

    • Each color code is displayed in an input field.
    • Click on the "Copy to Clipboard" button to copy the color code.

Usage

To use this project locally, clone the repository and open the index.html file in your web browser.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.