Color Picker is a simple web application that allows users to select a color from a color input and displays the HEX, RGB, and HSL values of the chosen color. It also maintains a history of recently selected colors.
- Color selection with a visual interface.
- Display of the color's HEX, RGB, and HSL values.
- History of the last picked colors.
- Responsive design, compatible with various screen sizes.
To set up the Color Picker application on your local machine, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/sofoste93/color_picker.git
- Navigate to the project directory:
cd color-picker
- Open the
index.html
file in your preferred web browser.
-
Click on the color bar to open the color selection dialog.
-
Pick a color. The color display will update in real-time.
-
The HEX, RGB, and HSL values of the selected color will be displayed below the color bar.
-
Your color selection will be added to the history below the color display for easy access in the future.
Contributions to improve Color Picker are welcome. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature (git checkout -b feature/amazing-feature).
- Commit your changes (git commit -m 'Add some amazing feature').
- Push to the branch (git push origin feature/amazing-feature).
- Open a pull request.
Distributed under the MIT License. See https://github.com/sofoste93/color_picker/blob/main/LICENSE for more information.
Stephane Sob F.
- @sofostemusic / @sofoste7
- Web: https://sofoste.tech/
- Project Link: https://github.com/sofoste93/color_picker