https://github.com/abdulrahman843/gradientbackgroundgenerator
An interactive tool to create, customize, and preview CSS gradient backgrounds. Choose colors, generate random gradients, and view the CSS code instantly.
https://github.com/abdulrahman843/gradientbackgroundgenerator
color colorpicker creative-coding dynamicbackground front-end gradientgenerator javascript randomgenerator
Last synced: 3 months ago
JSON representation
An interactive tool to create, customize, and preview CSS gradient backgrounds. Choose colors, generate random gradients, and view the CSS code instantly.
- Host: GitHub
- URL: https://github.com/abdulrahman843/gradientbackgroundgenerator
- Owner: Abdulrahman843
- Created: 2024-11-26T12:02:22.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-26T13:44:57.000Z (6 months ago)
- Last Synced: 2025-03-04T00:35:18.144Z (3 months ago)
- Topics: color, colorpicker, creative-coding, dynamicbackground, front-end, gradientgenerator, javascript, randomgenerator
- Language: JavaScript
- Homepage: https://github.com/Abdulrahman843/gradientBackgroundGenerator.git
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gradient Background Generator
A simple and interactive **Gradient Background Generator** that allows users to create and customize gradient backgrounds. Users can select colors or generate random gradients and view the corresponding CSS code for seamless integration into their projects.
## Table of Contents
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Setup](#setup)
- [Usage](#usage)
- [Screenshot](#screenshot)
- [License](#license)---
## Features
- Choose two colors to create a gradient background.
- Instantly view the CSS code for the current gradient.
- Generate random gradients with a single button click.
- Responsive and clean design for better usability.## Technologies Used
- **HTML5** for the webpage structure.
- **CSS3** for styling, including gradients and typography.
- **JavaScript (ES6)** for interactive functionality, such as updating the background dynamically.---
## Setup
1. Clone this repository or download the files:
```bash
git clone https://github.com/Abdulrahman843/gradient-background-generator.git
2. Open the project folder and ensure you have the following files:
index.html
style.css
script.js
backgroundGenerator.jpg
3. Open the index.html file in a web browser to view the application.## Usage
Select Colors:
Use the two color pickers to choose the starting and ending colors of the gradient.
View CSS:
The CSS code for the gradient will appear below the inputs, allowing you to copy and use it in your projects.
Generate Random Gradients:
Click the Random button to instantly generate a random gradient.## Screenshot
Below is a screenshot of the Gradient Background Generator:
## License
This project is licensed under the MIT License. Feel free to use, modify, and distribute as needed.