-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (46 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Animal Crossing: New Horizons Color Picker</title>
<link rel="icon"
type="image/png"
href="media/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Arvo&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/jscolor.js"></script>
<script src="js/script.js"></script>
</head>
<body>
<div id="title">
<h1>Animal Crossing: New Horizons</h1>
<h1>Color Picker</h1>
</div>
<div id="color-picker">
<input class="jscolor {onFineChange:'convert_color(this.hsv[0],this.hsv[1],this.hsv[2])'}" />
<button onclick="random()">Click for Random Color</button>
</div>
<br><br><br><br>
<br><br><br>
<div id="container">
<div id="bar-container">
<div>
<h1 id="hue-title" class="bar-title">Hue: <span id="hue-val">-1</span></h1>
<p class="arrow" id="hue-arrow">▼</p>
<div class="bar" id="hue"></div>
</div>
<div>
<h1 class="bar-title">Vividness: <span id="vivid-val">-1</span></h1>
<p class="arrow" id="vivid-arrow">▼</p>
<div class="bar" id="vivid"></div>
</div>
<div>
<h1 class="bar-title">Brightness: <span id="bright-val">-1</span></h1>
<p class="arrow" id="bright-arrow">▼</p>
<div class="bar" id="brightness"></div>
</div>
</div>
<div id="color-display"></div>
</div>
</body>
</html>