-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
134 lines (133 loc) · 6.56 KB
/
Copy pathindex.html
File metadata and controls
134 lines (133 loc) · 6.56 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
<!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">
<title>Colorly</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Mulish:wght@200;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="colors">
<div class="color">
<h2>HEX</h2>
<div class="controls">
<button class="adjust"><i class="fas fa-sliders-h"></i></button>
<button class="lock"><i class="fas fa-lock-open"></i></button>
</div>
<div class="sliders">
<button class="close-adjustment"><i class="fas fa-times"></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>
</div>
<div class="color">
<h2>HEX</h2>
<div class="controls">
<button class="adjust"><i class="fas fa-sliders-h"></i></button>
<button class="lock"><i class="fas fa-lock-open"></i></button>
</div>
<div class="sliders">
<button class="close-adjustment"><i class="fas fa-times"></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="bright-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>
</div>
<div class="color">
<h2>HEX</h2>
<div class="controls">
<button class="adjust"><i class="fas fa-sliders-h"></i></button>
<button class="lock"><i class="fas fa-lock-open"></i></button>
</div>
<div class="sliders">
<button class="close-adjustment"><i class="fas fa-times"></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="bright-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>
</div>
<div class="color">
<h2>HEX</h2>
<div class="controls">
<button class="adjust"><i class="fas fa-sliders-h"></i></button>
<button class="lock"><i class="fas fa-lock-open"></i></button>
</div>
<div class="sliders">
<button class="close-adjustment"><i class="fas fa-times"></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="bright-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>
</div>
<div class="color">
<h2>HEX</h2>
<div class="controls">
<button class="adjust"><i class="fas fa-sliders-h"></i></button>
<button class="lock"><i class="fas fa-lock-open"></i></button>
</div>
<div class="sliders">
<button class="close-adjustment"><i class="fas fa-times"></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="bright-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>
</div>
</div>
<div class="panel">
<div class="library-panel">
<button class="library"><i class="fas fa-book-open"></i></button>
<p>Library</p>
</div>
<div class="generate-panel">
<button class="generate"><i class="fas fa-sync"></i></button>
<p>Generate</p>
</div>
<div class="save-panel">
<button class="save"><i class="fas fa-save"></i></button>
<p>Save</p>
</div>
</div>
<div class="copy-container">
<div class="copy-popup">
<h3>Copied to clipboard!</h3>
<h4>👍</h4>
</div>
</div>
<div class="save-container">
<div class="save-popup">
<button class="close-save"><i class="fas fa-times"></i></button>
<h4>Give a name to your pallete:</h4>
<input type="text" maxlength="35" class="save-name" placeholder="Write here">
<button type="submit" class="submit-save">Save</button>
</div>
</div>
<div class="library-container">
<div class="library-popup">
<button class="close-library"><i class="fas fa-times"></i></button>
<h4>Pick your palette</h4>
</div>
</div>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.1.0/chroma.min.js" integrity="sha512-yocoLferfPbcwpCMr8v/B0AB4SWpJlouBwgE0D3ZHaiP1nuu5djZclFEIj9znuqghaZ3tdCMRrreLoM8km+jIQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="./apps.js"></script>
</body>
</html>