-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (95 loc) · 4.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'>
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Colors by Arsh</title>
<meta name="description" content="Namaste. Hex. RGB. RGBA. This a very simple and free random color generator made by Arsh. Also supports color codes input.">
<meta name="author" content="Arsh Saxena">
<meta name="keywords" content="Arsh Saxena, arsh.saxena02, GitHub, Coding, Indian, Student, colors, rgb, rgba, opacity, alpha, hex, hexadecimal, random, genenrator">
<link rel="stylesheet" href="/pages/first-page/style.css">
<link rel="stylesheet" href="/pages/globals/global-fonts.css">
<link rel="stylesheet" href="/pages/globals/global-navbar/global-navbar.css">
<link rel="stylesheet" href="/pages/globals/global-footer/global-footer.css">
<link rel="stylesheet" href="/pages/globals/global-scrollbar.css">
<link rel="stylesheet" href="/pages/globals/global-top-button/global-top-button.css">
<link rel="stylesheet" href="/pages/globals/global-preloader/global-preloader.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name="theme-color" content="#1d1d1f">
<meta name="msapplication-navbutton-color" content="#1d1d1f">
<meta name="apple-mobile-web-app-status-bar-style" content="#1d1d1f">
<link rel="icon" href="/resources/first-page/icons/color-picker.png">
<link rel="apple-touch-icon" href="./resources/first-page/icons/color-picker.png">
<script>
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i+"?ref=bwt";
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "b3l7a4xn8k");
</script>
</head>
<body>
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous">
</script>
<script>
$(function(){
$("#nav").load("/pages/globals/global-navbar/global-navbar.html");
$("#footer").load("/pages/globals/global-footer/global-footer.html");
$("#top-button").load("/pages/globals/global-top-button/global-top-button.html");
});
</script>
<div class="container" id="container">
<span id="top-button"></span>
<nav class="nav" id="nav">
</nav>
<noscript>Please enable JavaScript!</noscript>
<div class="main-head">
<div class="controls">
<p class="heading"><b>Colors by Arsh</b></p>
<div class="buttons-div">
<button id="hexBtn" class="colorgen-button" onclick="getHexColorCode()"><b>Hex</b></button>
<button id="rgbBtn" class="colorgen-button" onclick="getRGBColorCode()"><b>RGB</b></button>
<button id="rgbaBtn" class="colorgen-button" onclick="getRGBAColorCode()"><b>RGBA</b></button>
</div>
<input class="color-code" id="code" value="#000000"></input>
<br>
<button id="enterBtn" class="enter-button" onclick="inputColor()"><b>ENTER</b></button>
</div>
<div class="instructions">
<p>
To generate a random color, click on “Hex”, “RGB”, or “RGBA” buttons.
</p>
<p>
To get color from Hex, RGB, or RGBA code, enter or paste the code in input field, and hit ENTER.
</p>
</div>
</div>
<script src="/pages/first-page/script.js"></script>
<span class="footer-conatiner">
<footer>
<div class="footer" id="footer-part">
<div class="footnote">
Favicon: <a href="https://www.pngwing.com/en/free-png-djwxe/download" target="_blank">PNGWing</a>
</div>
<div class="footer-text">
<img src="/resources/first-page/icons/arsh.png" alt="arsh-img-footer">
<span class="path">
<span class="arrow"><i class="fa fa-angle-right"></i></span>
</span>
<img src="/resources/first-page/icons/color-picker.png" alt="weather-img-footer">
<span class="path">
<span class="page-name"> Colors by Arsh</span>
</span>
</div>
</div>
</footer>
<footer id="footer"></footer>
</span>
</div>
</body>
</html>