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.
-
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.
-
Toggle Dark/Light Mode:
- Click on the dark/light mode toggle button to switch between modes.
-
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.
-
Copy Color Code:
- Each color code is displayed in an input field.
- Click on the "Copy to Clipboard" button to copy the color code.
To use this project locally, clone the repository and open the index.html
file in your web browser.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.