This is a simple web app that generates 5 different colors using the Color API and allows you to copy the selected color to the clipboard. This is my first API project and it's designed to showcase my skills in fetching and manipulating data from an API.
- Generates 5 different colors using the Color API
- Allows you to copy the selected color to the clipboard
- Uses an input type color selector to randomly create a color
- Calls the Color API to fetch the different options that you can select within that color
- Clone the repository to your local machine or download the ZIP file and extract it.
- Run
npm install
to install the required dependencies. - Run
npm run dev
to start the development server. - Use the color selector to randomly create a color.
- Click on any of the generated colors to select it.
- Select the color you want to copy to the clipboard.
A live preview of this project is available at scheme-color.pages.dev
This project was created by Alvaro Fierro. The Color API is developed and maintained by ColorAPI.com
License This project is licensed under the MIT License.