-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathradial-gradient-generator.html
More file actions
268 lines (242 loc) · 17.2 KB
/
radial-gradient-generator.html
File metadata and controls
268 lines (242 loc) · 17.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Radial Gradient Generator (Free, CSS & PNG) | tinyfont.me</title>
<meta name="description" content="Create beautiful circular (radial) gradients with our free online tool. Customize colors and download as a PNG or copy the pure CSS code.">
<meta name="keywords" content="radial gradient generator, circular gradient, css radial gradient, free tool, background generator, online">
<meta name="author" content="tinyfont.me">
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large">
<link rel="canonical" href="https://tinyfont.me/radial-gradient-generator.html" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://tinyfont.me/radial-gradient-generator.html">
<meta property="og:title" content="Radial Gradient Generator (Free, CSS & PNG) | tinyfont.me">
<meta property="og:description" content="Create beautiful circular (radial) gradients with our free online tool. Customize colors and download as a PNG or copy the pure CSS code.">
<meta property="og:image" content="https://tinyfont.me/og-image.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://tinyfont.me/radial-gradient-generator.html">
<meta property="twitter:title" content="Radial Gradient Generator (Free, CSS & PNG) | tinyfont.me">
<meta property="twitter:description" content="Create beautiful circular (radial) gradients with our free online tool. Customize colors and download as a PNG or copy the pure CSS code.">
<meta property="twitter:image" content="https://tinyfont.me/og-image.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="gradient-tools.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js" integrity="sha512-BNaRQnYJYiPSqHHDb58B0yaPfCu+Wgds8Gp/gU33kqBtgNS4tSPHuGibyoVBL5gI9kDXrdIGNORE/lenZsummaries.sourceforge.net/group__C45__API.html" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body data-gradient-type="radial">
<header class="header">
<div class="container">
<a href="gradient-generator.html" class="logo">tinyfont.me</a>
<nav class="nav"><a href="gradient-generator.html" >Gradient Generator</a><a href="2-color-gradient-generator.html" >2-Color</a><a href="3-color-gradient-generator.html" >3-Color</a><a href="4-color-gradient-generator.html" >4-Color</a><a href="5-color-gradient-generator.html" >5-Color</a><a href="radial-gradient-generator.html" class="active">Radial Gradient</a><a href="mesh-gradient-generator.html" >Mesh Gradient</a></nav>
<button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
<svg class="sun-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
<svg class="moon-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
</button>
<!-- Burger menu toggle -->
<button class="menu-toggle" aria-label="Open mobile menu">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Mobile navigation overlay and menu -->
<div class="mobile-nav-overlay"></div>
<nav class="mobile-nav"><a href="gradient-generator.html" >Gradient Generator</a><a href="2-color-gradient-generator.html" >2-Color</a><a href="3-color-gradient-generator.html" >3-Color</a><a href="4-color-gradient-generator.html" >4-Color</a><a href="5-color-gradient-generator.html" >5-Color</a><a href="radial-gradient-generator.html" class="active">Radial Gradient</a><a href="mesh-gradient-generator.html" >Mesh Gradient</a></nav>
</header>
<div class="container">
<main>
<div class="card glassmorphism">
<h1>Radial Gradient Generator</h1>
<p>Generate stunning circular gradients for your designs.</p>
<!-- Top Ad Slot -->
<center style="margin: 2rem 0;">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9534887202409405"
crossorigin="anonymous"></script>
<!-- tf -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9534887202409405"
data-ad-slot="2539931563"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
<div id="gradient-preview" class="gradient-preview"></div>
<div class="color-inputs">
<div class="custom-color-input-wrapper">
<div class="color-swatch" data-color="#feca57"></div>
<div class="color-picker-popup">
<div class="color-picker-main">
<div class="color-spectrum"></div>
<div class="color-sliders">
<div class="slider-group hue-slider">
<input type="range" min="0" max="360" value="0" class="slider hue-range">
</div>
<div class="slider-group saturation-slider">
<input type="range" min="0" max="100" value="100" class="slider saturation-range">
</div>
<div class="slider-group lightness-slider">
<input type="range" min="0" max="100" value="50" class="slider lightness-range">
</div>
<div class="slider-group opacity-slider">
<input type="range" min="0" max="100" value="100" class="slider opacity-range">
</div>
</div>
</div>
<div class="color-picker-footer">
<input type="text" class="hex-input" value="#feca57">
<button class="close-picker-btn modern-button">OK</button>
</div>
</div>
</div>
<div class="custom-color-input-wrapper">
<div class="color-swatch" data-color="#ff6b6b"></div>
<div class="color-picker-popup">
<div class="color-picker-main">
<div class="color-spectrum"></div>
<div class="color-sliders">
<div class="slider-group hue-slider">
<input type="range" min="0" max="360" value="0" class="slider hue-range">
</div>
<div class="slider-group saturation-slider">
<input type="range" min="0" max="100" value="100" class="slider saturation-range">
</div>
<div class="slider-group lightness-slider">
<input type="range" min="0" max="100" value="50" class="slider lightness-range">
</div>
<div class="slider-group opacity-slider">
<input type="range" min="0" max="100" value="100" class="slider opacity-range">
</div>
</div>
</div>
<div class="color-picker-footer">
<input type="text" class="hex-input" value="#ff6b6b">
<button class="close-picker-btn modern-button">OK</button>
</div>
</div>
</div>
<div class="custom-color-input-wrapper">
<div class="color-swatch" data-color="#48dbfb"></div>
<div class="color-picker-popup">
<div class="color-picker-main">
<div class="color-spectrum"></div>
<div class="color-sliders">
<div class="slider-group hue-slider">
<input type="range" min="0" max="360" value="0" class="slider hue-range">
</div>
<div class="slider-group saturation-slider">
<input type="range" min="0" max="100" value="100" class="slider saturation-range">
</div>
<div class="slider-group lightness-slider">
<input type="range" min="0" max="100" value="50" class="slider lightness-range">
</div>
<div class="slider-group opacity-slider">
<input type="range" min="0" max="100" value="100" class="slider opacity-range">
</div>
</div>
</div>
<div class="color-picker-footer">
<input type="text" class="hex-input" value="#48dbfb">
<button class="close-picker-btn modern-button">OK</button>
</div>
</div>
</div>
</div>
<div class="output">
<textarea id="css-code" readonly aria-label="CSS gradient code"></textarea>
<button id="copy-btn" class="modern-button">Copy CSS</button>
</div>
<div class="download-section">
<h2>Download as Image</h2>
<div class="download-controls">
<select id="format-select" class="dropdown" aria-label="Select image format">
<option value="image/png">PNG</option><option value="image/jpeg">JPEG</option><option value="image/webp">WebP</option>
</select>
<select id="size-select" class="dropdown" aria-label="Select image size">
<option value="1920x1080">Full HD (1920x1080)</option>
<option value="3840x2160">4K UHD (3840x2160)</option>
<option value="1280x720">HD (1280x720)</option>
<option value="2560x1440">QHD (2560x1440)</option>
<option value="1366x768">Laptop (1366x768)</option>
<option value="1024x768">Tablet (1024x768)</option>
<option value="750x1334">iPhone 8 (750x1334)</option>
<option value="1125x2436">iPhone X (1125x2436)</option>
<option value="1080x1080">Social Post (1080x1080)</option>
<option value="1080x1920">Social Story (1080x1920)</option>
<option value="1200x630">Facebook Shared Image (1200x630)</option>
<option value="1500x500">Twitter Header (1500x500)</option>
<option value="728x90">Leaderboard Banner (728x90)</option>
<option value="300x250">Medium Rectangle Banner (300x250)</option>
</select>
<button id="download-btn" class="modern-button primary">Download Image</button>
</div>
</div>
</div>
<section class="content-section">
<h2>Understanding the Radial Gradient Generator</h2>
<p>A gradient is a gradual blend of two or more colors. The <strong>Radial Gradient Generator</strong> is a powerful tool designed to help you create stunning, high-quality radial gradients with zero hassle. A radial gradient is a circular transition of multiple or more colors spreading out from a central point.</p>
<h3>Why are Gradients Essential in Modern Design?</h3>
<ul>
<li><strong>Visual Appeal:</strong> Gradients add depth and dimension, making designs more engaging than flat colors.</li>
<li><strong>Mood & Tone:</strong> The colors you choose can evoke specific emotions, from a warm, energetic sunset gradient to a cool, calming blue one.</li>
<li><strong>Focus & Guidance:</strong> You can use gradients to draw a user's attention to important elements like buttons or headlines.</li>
<li><strong>Professionalism:</strong> A well-executed gradient gives a design a polished, modern, and professional finish.</li>
</ul>
<p>This tool simplifies the process by providing you with interactive color pickers, instant visual feedback, and ready-to-use code or image downloads, making it perfect for web developers, graphic designers, and content creators.</p>
</section>
<!-- Bottom Ad Slot -->
<center style="margin: 2rem 0;">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9534887202409405"
crossorigin="anonymous"></script>
<!-- tf -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9534887202409405"
data-ad-slot="2539931563"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
<section class="content-section">
<h2>Frequently Asked Questions</h2>
<div class="faq-list">
<div class="faq-item">
<div class="faq-question">Is this Radial Gradient generator completely free?<span class="faq-toggle">+</span></div>
<div class="faq-answer"><p>Yes, absolutely. This tool is 100% free for both personal and commercial projects. Generate and download as many gradients as you need, with no watermarks or hidden costs.</p></div>
</div>
<div class="faq-item">
<div class="faq-question">What is a Radial Gradient?<span class="faq-toggle">+</span></div>
<div class="faq-answer"><p>Unlike a linear gradient which progresses in a straight line, a radial gradient radiates from a central point outwards in a circular or elliptical shape. It's perfect for creating vignettes, highlighting a central point, or simulating a light source.</p></div>
</div>
<div class="faq-item">
<div class="faq-question">What image formats and sizes can I download?<span class="faq-toggle">+</span></div>
<div class="faq-answer"><p>You can download your gradient as a high-quality PNG, JPEG, or WebP image. We offer various sizes suitable for everything from Full HD and 4K backgrounds to social media posts and stories.</p></div>
</div>
<div class="faq-item">
<div class="faq-question">How do I use the generated CSS code?<span class="faq-toggle">+</span></div>
<div class="faq-answer"><p>Simply click the 'Copy CSS' button to copy the code to your clipboard. Then, paste it into your CSS stylesheet for the desired element, for example: <code>.my-element {{ background: linear-gradient(...); }}</code></p></div>
</div>
<div class="faq-item">
<div class="faq-question">Can I suggest a feature or report a bug?<span class="faq-toggle">+</span></div>
<div class="faq-answer"><p>Of course! We are always looking to improve our tools. Please feel free to reach out with any feedback or suggestions through our contact page or social media channels.</p></div>
</div></div>
</section>
</main>
</div>
<footer class="footer">
<div class="container">
<div class="footer-nav"><a href="gradient-generator.html">Gradient Generator</a><a href="2-color-gradient-generator.html">2-Color</a><a href="3-color-gradient-generator.html">3-Color</a><a href="4-color-gradient-generator.html">4-Color</a><a href="5-color-gradient-generator.html">5-Color</a><a href="radial-gradient-generator.html">Radial Gradient</a><a href="mesh-gradient-generator.html">Mesh Gradient</a></div>
<p>© 2025 <a href="https://tinyfont.me" target="_blank" rel="noopener noreferrer">tinyfont.me</a>. All Rights Reserved.</p>
</div>
</footer>
<script src="gradient-tools.js"></script>
</body>
</html>