Skip to content

nureka-rodrigo/Color-Gen

Repository files navigation

Color-Gen

Color-Gen is a dynamic web application built with React and utilizes the Vite build tool. The application allows users to generate a custom color palette based on a chosen base color. Users can interact with the application to generate new colors, copy colors to the clipboard, and view various components styled with the generated colors.

Features

  • Color Palette Generation: Generate a custom color palette based on a selected base color.
  • Color Input: Users can input colors either through a color picker or by typing the hex code directly.
  • Clipboard Functionality: Users can copy individual colors or the entire palette code to the clipboard.
  • Keyboard Interaction: Pressing the space bar generates a new random color.
  • Component Showcase: Various components (SignOut, ForgotPassword, Cookie, Pricing, SwitchNotification, Stats) styled with the generated color.

Installation

This project was bootstrapped with Vite. To set up and run this project locally, you'll need to have Node.js and npm installed. Follow these steps:

  1. Clone the repository: git clone https://github.com/nureka-rodrigo/Color-Gen.git
  2. Navigate into the project directory: cd Color-Gen
  3. Install the dependencies: npm install
  4. Start the application: npm run dev

The application will start running on http://localhost:3000.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the terms of the MIT license.