-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (83 loc) · 5.72 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
<!DOCTYPE html>
<head>
<title>Random Color Generator</title>
<meta property="og:image" content="">
<meta property="og:image:width" content="1920" />
<meta property="og:image:height" content="1080" />
<meta property="og:title" content="Random Color Generator">
<meta property="og:site_name" content="Random Color Generator" />
<meta property="og:url" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="imgs/logo.png"/>
<!-- CSS -->
<link rel='stylesheet' href='https://pro.fontawesome.com/releases/v5.13.1/css/all.css'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand">
<img src="imgs/logo.png" width="30" height="30" class="d-inline-block align-top" alt="" loading="lazy">
Random Color Generator
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<!-- NO MENU
<li class="nav-item active">
<a class="nav-link" href="#"><i class="fal fa-home"></i> Home</a>
</li>
-->
</ul>
</div>
<!-- Button Social -->
<div class="btn-group mr-2" role="group" aria-label="Social">
<a type="button" class="btn btn-twitter" href="https://twitter.com/DearVooDoo" target="_blank"><i class="fab fa-twitter"></i></a>
<a type="button" class="btn btn-twitch" href="https://twitch.tv/dear_voodoo" target="_blank"><i class="fab fa-twitch"></i></a>
<a type="button" class="btn btn-instagram" href="https://instagram.com/dearvoodoo" target="_blank"><i class="fab fa-instagram"></i></a>
<a type="button" class="btn btn-discord" href="https://discord.gg/XeeXPA7" target="_blank"><i class="fab fa-discord"></i></a>
</div>
</nav>
<div class="container h-75 d-flex justify-content-center main-content mt-5">
<div class="mt-auto mb-6">
<div class="row text-center">
<div class="col">
<!-- Main content here -->
<div class="row text-center">
<div class="col">
<div class="card text-white rd-background text-center" style="width: 40vw;">
<div class="card-header tr" key="random_color_generator">Random Color Generator</div>
<div class="card-body my-auto">
<h5 class="card-title mt-5" style="background-color: rgba(0, 0, 0, 0.16); padding: .375rem .75rem; border-radius: .25rem;">HEX: <span id="hex_code">...</span></h5>
<p class="card-text mt-3" style="background-color: rgba(0, 0, 0, 0.16); padding: .375rem .75rem; border-radius: .25rem;" id="rgb_code">...</p>
<p class="card-text mt-3" style="background-color: rgba(0, 0, 0, 0.16); padding: .375rem .75rem; border-radius: .25rem;" id="hsl_code">...</p>
<p class="card-text mt-3" style="background-color: rgba(0, 0, 0, 0.16); padding: .375rem .75rem; border-radius: .25rem;" id="hwb_code">...</p>
<p class="card-text mt-3" style="background-color: rgba(0, 0, 0, 0.16); padding: .375rem .75rem; border-radius: .25rem;" id="cmyk_code">...</p>
<p class="card-text mt-3" style="background-color: rgba(0, 0, 0, 0.16); padding: .375rem .75rem; border-radius: .25rem;">Ncol: <span id="ncol_code">...</span></p>
<a href="#" class="btn mt-3 mb-5 tr" key="generate_new_color" onclick="NewColor()" style="background-color: rgba(0, 0, 0, 0.16); color: var(--text-primary)">Generate new color</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="pt-5 text-center">
<h6 style="color: #3c3556;">
© VooDoo 2019-2020 All Rights Reserved
</h6>
<a href="https://twitter.com/DearVooDoo?ref_src=twsrc%5Etfw" target="_blank" class="twitter-follow-button" data-show-count="false">Follow @DearVooDoo</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<!-- JS -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/FitText.js/1.2.0/jquery.fittext.min.js'></script>
<script src='https://www.w3schools.com/lib/w3color.js'></script>
<script src='js/main.js'></script>
</body>
</html>