- The Random Background Color Changer is a simple web app that allows users to change the webpage’s background color to a random color by clicking a button. The hex code of the current background color is displayed on the page.This is the hyper link:https://Random-background-colour-changer.netlify.app/
- This project is a simple web application that allows users to change the background color of a webpage with a single click. When the user clicks the "Change Background Color" button, the background color randomly switches to one of the predefined dark colors from an array. The hex code of the current background color is displayed on the page for reference. This is a fun and interactive way to explore random colors in a visually appealing design.
The project is built using HTML, CSS, and JavaScript:
- HTML: Provides the structure of the webpage, including the header, color display, and button.
- CSS: Styles the page, ensuring a clean and responsive layout. It also defines the color palette using CSS variables for easy customization.
- JavaScript: Handles the functionality for generating random colors and updating the background and displayed hex code.
- A button that changes the background color to a random color from a predefined set.
- Displays the corresponding hex code of the color on the page.
- Simple, user-friendly interface with modern styling.
