-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (66 loc) · 2.67 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
<!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Color Picker</title>
<link href="https://fonts.googleapis.com/css2?family=Ranchers&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./dist/style.min.css">
</head>
<body>
<div class="card">
<div class="header">
<p id="title">Color Picker</p>
</div>
<div class="card-body">
<div>
<p class="box">Red</p>
<input type="range" class="red" value="30" min="0" max="255">
<input type="number" class="red box" value="30" min="0" max="255">
</div>
<div>
<p class="box">Green</p>
<input type="range" class="green" value="40" min="0" max="255">
<input type="number" class="green box" value="40" min="0" max="255">
</div>
<div>
<p class="box">Blue</p>
<input type="range" class="blue" value="50" min="0" max="255">
<input type="number" class="blue box" value="50" min="0" max="255">
</div>
<div>
<p class="box">Alpha</p>
<input type="range" class="alpha" value="1" min="0" max="1" step="0.010">
<input type="number" class="alpha box" value="1" min="0" max="1" step="0.010">
</div>
<br>
<br>
<div id="pr">
<p id="hex">#ffffff</p>
</div>
</div>
</div>
<script src="./dist/script.prod.js"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.2.3/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.2.3/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyDqpXT9x6PLFuQs-sQL0GZ80TzyJ5jZhN0",
authDomain: "color-picker-18e6b.firebaseapp.com",
projectId: "color-picker-18e6b",
storageBucket: "color-picker-18e6b.appspot.com",
messagingSenderId: "260066212961",
appId: "1:260066212961:web:80631cb14cd2f9eeccbe20",
measurementId: "G-JTQV114EJ5"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
</body>
</html>