-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (104 loc) · 3.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ColorZapp</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="dark-toggle">
<img
class="dark-button"
src="/assets/night-mode.png"
alt="Toggle Dark Mode"
/>
</div>
<h1 class="logo">
<span class="letter">C</span>
<span class="letter">o</span>
<span class="letter">l</span>
<span class="letter">o</span>
<span class="letter">r</span>
<span class="letter">Z</span>
<span class="letter">a</span>
<span class="letter">p</span>
<span class="letter">p</span>
</h1>
<div class="container">
<div class="left-container">
<div class="color-demo">
<button class="generate-button">Generate Color</button>
<div class="demo-div"></div>
</div>
</div>
<div class="right-container">
<h1 class="right-heading">Color Details</h1>
<hr />
<h2>Change or Copy Color:</h2>
<div class="input-design">
<p class="adjust">RGB:</p>
<div class="input-div">
<input type="text" id="rgbVal" />
<i class="fa-solid fa-copy copy-icon"></i>
</div>
</div>
<div class="input-design">
<p class="adjust">HEX:</p>
<div class="input-div hex-div">
<p class="hexHash">#</p>
<input type="text" id="hexVal" />
<i class="fa-solid fa-copy copy-icon"></i>
</div>
</div>
<h2>Adjust Color:</h2>
<div class="color-adjust">
<div class="red-container">
<p>Red</p>
<div class="color-details">
<input
type="range"
value="244"
min="0"
max="255"
id="red-range"
/>
<label class="red-value" for="red-range">244</label>
</div>
</div>
<div class="green-container">
<p>Green</p>
<div class="color-details">
<input
type="range"
value="251"
min="0"
max="255"
id="green-range"
/>
<label class="green-value" for="green-range">251</label>
</div>
</div>
<div class="blue-container">
<p>Blue</p>
<div class="color-details">
<input
type="range"
value="255"
min="0"
max="255"
id="blue-range"
/>
<label class="blue-value" for="blue-range">255</label>
</div>
</div>
</div>
</div>
</div>
<script
src="https://kit.fontawesome.com/f99514d96b.js"
crossorigin="anonymous"
></script>
<script src="/script.js"></script>
</body>
</html>