A simple web page that allows you to generate random background colors. You can click a button or hover over another button to change the background color randomly.
- HTML
- CSS
- JavaScript
- Font Awesome for icons
- Change the background color by clicking a button or hovering over another button.
- Display the generated color in both hexadecimal and RGB formats.
- Copy the color code to the clipboard by clicking on the copy icon.
index.html
: Main HTML file containing the structure of the webpage.style.css
: CSS file containing styles for the webpage.app.js
: JavaScript file containing the logic for generating random colors.
- Click the "Click!" button or hover over the "Mouseover!" button to change the background color.
- The color code is displayed in both hexadecimal and RGB formats.
- You can also copy the color code to the clipboard by clicking on the copy icon.