ColorSplash is a simple, interactive web application that changes the background color of the page to a randomly generated RGB value each time the button is clicked. The new color is also displayed as text on the page.
This preview shows the page after clicking the button — background color and RGB value update dynamically.
- Changes the background color of the page to a random color on button click.
- Displays the selected RGB color code on the screen
- Styled using Bootstrap for a clean and responsive design.
- HTML5
- Bootstrap 5.3.6
- JavaScript (ES6+)
- Clone the repository:
git clone https://github.com/Misba0019/ColorSplash.git
- Open
project_color.htmlin your web browser. - Click the "Click Me!" button.
- Watch the background color change and view the new RGB value displayed in the center of the page.
Contributions are welcome! Feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.