-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (87 loc) · 4.66 KB
/
Copy pathindex.html
File metadata and controls
96 lines (87 loc) · 4.66 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#ff5722">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=BBH+Sans+Bartle&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="./img/color.png">
<title>Colorify - Discover Random Colors and Create Palettes</title>
<meta name="description" content="Explore Colorify, an engaging random color generator. Create stunning color palettes and find inspiration for your designs!">
<meta name="keywords" content="random color generator, Colorify, color palettes, design tools, color inspiration, hex colors, rgb, color theory">
<meta name="author" content="George">
<meta name="theme-color" content="#ff5722">
<meta property="og:title" content="Colorify - Discover Random Colors and Create Palettes">
<meta property="og:description" content="Explore Colorify, an engaging random color generator. Create stunning color palettes and find inspiration for your designs!">
<meta property="og:image" content="https://i.ibb.co/Jj4DrBHp/color.png">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Colorify - Discover Random Colors and Create Palettes">
<meta name="twitter:description" content="Explore Colorify, an engaging random color generator. Create stunning color palettes and find inspiration for your designs!">
<meta name="twitter:image" content="https://i.ibb.co/Jj4DrBHp/color.png">
<style>
#name, #btn, p{
font-family: "BBH Sans Bartle", sans-serif;
font-weight: 400;
font-style: normal;
}
#name{
font-size: xx-large;
}
.full-height {
height: 90vh;
}
.color-box {
margin: 2rem 0 20rem;
border: 2px solid black;
padding: 2rem 1rem 2rem;
}
.unselectable {
user-select: none;
cursor: pointer;
}
#colorDisplay {
height: 4rem;
width: 100%;
margin-top: 1rem;
border: 1px solid #ccc;
}
</style>
</head>
<body>
<nav class="navbar bg-dark">
<div class="container-fluid">
<a class="navbar-brand " href="#" id="name">
Colorify
</a>
</div>
</nav>
<div class="container full-height d-flex align-items-center justify-content-center">
<div class="rounded color-box d-flex flex-column align-items-center justify-content-center">
<p id="color-code" class="fw-bold mb-3 unselectable" style="font-size: 24px;">#FF0000</p>
<button type="button" class="btn btn-dark" style="width: 15rem; height: 3rem; font-size: 17px;" id="btn">Change</button>
<div class="form-check mt-2">
<input class="form-check-input" type="checkbox" id="check">
<label class="form-check-label fw-bold unselectable" for="check">
Auto Change
</label>
<div class="border border-black mt-3 text-center rounded p-1" style="height: 4rem; width: 15rem; display: none;" id="speed">
<label for="range4" class="form-label fw-bold">Interval: <output for="range4" id="rangeValue" aria-hidden="true"></output> MS </label>
<input type="range" class="form-range" min="1" max="100" value="5" id="range4">
</div>
</div>
<div class="container mt-3 border border-black rounded" style="width: 18rem;">
<div class="mb-3">
<label for="colorPicker" class="form-label fw-bold">Choose color:</label>
<input type="color" class="form-control form-control-color border border-black" id="colorPicker" value="#007bff" title="Choose color" style="width: 100%;">
</div>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>