Color Picker is a web application that allows users to pick and explore colors using the HSL color model. It provides a user-friendly interface with sliders for adjusting the Hue, Saturation, and Lightness values.
-
Color Display: The main interface includes a color square that dynamically updates based on the selected HSL values.
-
Hue, Saturation, Lightness Sliders: Users can adjust the Hue, Saturation, and Lightness values using sliders to explore different colors.
-
Copy HSL Value: A button allows users to copy the current HSL value to the clipboard.
-
Hue Slider: Use the "Hue" slider to adjust the color hue from 0 to 359.
-
Saturation Slider: Adjust the "Saturation" slider to control the color saturation from 0% to 100%.
-
Lightness Slider: Use the "Lightness" slider to control the brightness of the color from 0% to 100%.
-
Color Square Display: The color square dynamically updates as you adjust the sliders, providing a visual representation of the selected color.
-
Copy HSL Value: Click the button with the HSL value to copy the current HSL value to the clipboard.
-
HTML (index.html): Defines the structure of the color picker web page with sliders and buttons.
-
CSS (style.css): Styles the HTML elements for a visually appealing and responsive color picker interface.
-
JavaScript (script.js): Implements the logic for handling user input, updating the color square, and copying HSL values to the clipboard.
- Web browser
-
Clone or download the repository to your local machine.
-
Open the
index.htmlfile in a web browser.
This project is open-source and is available under the MIT License. Feel free to use and modify the code as needed.
To experience this project, you can visit the following link: Color Picker
