-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (55 loc) · 2.09 KB
/
index.html
File metadata and controls
64 lines (55 loc) · 2.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index,follow" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"
/>
<meta
name="description"
content="You must always have a great description of the website you created!"
/>
<meta name="theme-color" content="#4285f4" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Darken & Lighten Color Tool</title>
<link rel="stylesheet" href="index.css" />
<link href="https://fonts.googleapis.com/css?family=Montserrat"
rel="stylesheet"
/>
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
</head>
<body>
<div class="container">
<h1 class="title">Color Lighten/Darken</h1>
<label for="hexInput" id="hexText">Color (Hex)</label>
<input type="text" name="hex" id="hexInput"
placeholder="#000000" maxlength="7"/>
<div class="toggle">
<p id="lightenText"
class="toggle-text">Lighten</p>
<div id="toggleBtn" class="toggle-btn">
<div class="inner-circle"></div>
</div>
<p id="darkenText"
class="toggle-text unselected">Darken</p>
</div>
<label for="slider" id="sliderText">0%</label>
<input type="range" min="0" max="100" value="0"
class="slider" id="slider" name="slider">
<p>Input Color</p>
<div id="inputColor" class="box"><span class="altColor"></span></div>
<p id="alteredColorText">Altered Color</p>
<div id="alteredColor" class="box"><span class="altColor"></span></div>
<div class = "freepik">
<a href="https://www.freepik.com/icon/pantone_387861">Icon by Freepik</a>
</div>
</div>
<script src="index.js"></script>
<script src="ServiceWorker.js"></script>
</body>
</html>