Skip to content

Hi there! This repo is intended for practicing usage of DOM functions and events as well as Math() JavaScript object. Enjoy using it!

Notifications You must be signed in to change notification settings

bit-rec98/Color_Palette_Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Hi there! This repo is intended for practicing usage of DOM functions and events as well as Math() JavaScript object. Enjoy using it!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published