-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
378 lines (331 loc) · 8.22 KB
/
index.html
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- favivon start -->
<link rel="shortcut icon" href="./icon/fav-icon.jpg" type="image/x-icon" />
<!-- favivon end -->
<!-- Font Awesome icon start -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"
integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- Font Awesome icon end -->
<!-- Style sheet start -->
<link rel="stylesheet" href="./style/style.css" />
<!-- Style sheet end -->
<title>Colorzee</title>
</head>
<body>
<div class="colors">
<!-- color palette: 0 start -->
<div class="color c0">
<h2>Hex</h2>
<div class="controls">
<button class="adjust-Btn"><i class="fas fa-sliders-h"></i></button>
<button class="lock-Btn"><i class="fas fa-lock-open"></i></button>
</div>
<!-- color adjust sliders start -->
<div class="adjustment-sliders">
<button class="close-adjustment">
<i class="fas fa-circle-xmark"></i>
</button>
<span>Hue</span>
<input
type="range"
min="0"
max="360"
step="1"
name="hue"
class="hue-input"
data-hue="0"
/>
<span>Brightness</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="brightness"
class="bright-input"
data-bright="0"
/>
<span>Saturation</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="saturation"
class="sat-input"
data-sat="0"
/>
</div>
<!-- color adjust sliders end -->
</div>
<!-- color palette: 0 end -->
<!--color palette:1 start -->
<div class="color c1">
<h2>Hex</h2>
<div class="controls">
<button class="adjust-Btn"><i class="fas fa-sliders-h"></i></button>
<button class="lock-Btn"><i class="fas fa-lock-open"></i></button>
</div>
<!-- color adjust sliders start -->
<div class="adjustment-sliders">
<button class="close-adjustment">
<i class="fas fa-circle-xmark"></i>
</button>
<span>Hue</span>
<input
type="range"
min="0"
max="360"
step="1"
name="hue"
class="hue-input"
data-hue="1"
/>
<span>Brightness</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="brightness"
class="brigth-input"
data-bright="1"
/>
<span>Saturation</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="saturation"
class="sat-input"
data-sat="1"
/>
</div>
<!-- color adjust sliders end -->
</div>
<!--color palette:1 end -->
<!-- color palette:2 start -->
<div class="color c2">
<h2>Hex</h2>
<div class="controls">
<button class="adjust-Btn"><i class="fas fa-sliders-h"></i></button>
<button class="lock-Btn"><i class="fas fa-lock-open"></i></button>
</div>
<!-- color adjust sliders start -->
<div class="adjustment-sliders">
<button class="close-adjustment">
<i class="fas fa-circle-xmark"></i>
</button>
<span>Hue</span>
<input
type="range"
min="0"
max="360"
step="1"
name="hue"
class="hue-input"
data-hue="2"
/>
<span>Brightness</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="brightness"
class="brigth-input"
data-bright="2"
/>
<span>Saturation</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="saturation"
class="sat-input"
data-sat="2"
/>
</div>
<!-- color adjust sliders end -->
</div>
<!-- color palette:2 end -->
<!-- color palette:3 start -->
<div class="color c3">
<h2>Hex</h2>
<div class="controls">
<button class="adjust-Btn"><i class="fas fa-sliders-h"></i></button>
<button class="lock-Btn"><i class="fas fa-lock-open"></i></button>
</div>
<!-- color adjust sliders start -->
<div class="adjustment-sliders">
<button class="close-adjustment">
<i class="fas fa-circle-xmark"></i>
</button>
<span>Hue</span>
<input
type="range"
min="0"
max="360"
step="1"
name="hue"
class="hue-input"
data-hue="3"
/>
<span>Brightness</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="brightness"
class="brigth-input"
data-bright="3"
/>
<span>Saturation</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="saturation"
class="sat-input"
data-sat="3"
/>
</div>
<!-- color adjust sliders end -->
</div>
<!-- color palette:3 end -->
<!-- color palette:4 start -->
<div class="color c4">
<h2>Hex</h2>
<div class="controls">
<button class="adjust-Btn"><i class="fas fa-sliders-h"></i></button>
<button class="lock-Btn"><i class="fas fa-lock-open"></i></button>
</div>
<!-- color adjust sliders start -->
<div class="adjustment-sliders">
<button class="close-adjustment">
<i class="fas fa-circle-xmark"></i>
</button>
<span>Hue</span>
<input
type="range"
min="0"
max="360"
step="1"
name="hue"
class="hue-input"
data-hue="4"
/>
<span>Brightness</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="brightness"
class="brigth-input"
data-bright="4"
/>
<span>Saturation</span>
<input
type="range"
min="0"
max="1"
step="0.01"
name="saturation"
class="sat-input"
data-sat="4"
/>
</div>
<!-- color adjust sliders end -->
</div>
<!-- color palette:4 end -->
</div>
<!-- Library, Generate, Save Panels Start -->
<div class="panel">
<!-- Library panel start -->
<div class="library-panel">
<button class="library-Btn"><i class="fas fa-book-open"></i></button>
<p>Library</p>
</div>
<!-- Library panel end -->
<!-- Generate panel start -->
<div class="generate-panel">
<button class="generate-Btn"><i class="fas fa-sync"></i></button>
<p>Generate</p>
</div>
<!-- Generate panel end -->
<!-- Save panel start -->
<div class="save-panel">
<button class="save-Btn"><i class="fas fa-save"></i></button>
<p>Save</p>
</div>
<!-- Save panel end -->
</div>
<!-- Library, Genarate, Save Panels end -->
<!-- Popup Section start -->
<!-- Copy Popup start -->
<div class="copy-container">
<div class="copy-popup">
<h3>Copied!</h3>
<h4>👍</h4>
</div>
</div>
<!-- Copy Popup end -->
<!-- Save Popup start -->
<div class="save-container">
<div class="save-popup">
<button class="close-savePopup-Btn">
<i class="fas fa-circle-xmark"></i>
</button>
<div class="saveInputAndBtn">
<input
placeholder=" Add palette name"
type="text"
max-length="35"
class="save-name"
/>
<button type="submit" class="submit-save">
<i class="fas fa-plus-circle"></i>
</button>
</div>
</div>
</div>
<!-- Save Popup end -->
<!-- Library Popup start -->
<div class="library-container">
<div class="library-popup">
<button class="close-libraryPopup-Btn">
<i class="fas fa-circle-xmark"></i>
</button>
</div>
</div>
<!-- Library Popup end -->
<!-- Popup Section end -->
<!-- Chroma JS cdn start -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.4.2/chroma.min.js"
integrity="sha512-zInFF17qBFVvvvFpIfeBzo7Tj7+rQxLeTJDmbxjBz5/zIr89YVbTNelNhdTT+/DCrxoVzBeUPVFJsczKbB7sew=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<!-- Chroma JS cdn end -->
<!-- JS script start -->
<script src="./script/app.js"></script>
<script src="./script/localStorage.js"></script>
<!-- JS script end -->
</body>
</html>