-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (30 loc) · 1.3 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
<!doctype html>
<html lang="en">
<head>
<title>Color Generator</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS v5.2.1 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container-fluid d-flex justify-content-center align-items-center" id="background">
<div class="row d-flex box">
<div class="col-md-12 d-flex justify-content-center">
<div class="color-name">Color Hex Code is: <span id="hex">#4f0000</span></div>
</div>
<div class="col-md-12 d-flex justify-content-center mt-5">
<button class="btn btn-lg" id="button" onclick="generateColor()">Generate</button>
</div>
</div>
</div>
<div class="text-center p-4" style="background-color: #0000000d;">
Copyright 2023 ©
<a class="text-reset text-decoration-none" href="https://github.com/prabhsingh13/">PrabhSingh</a>
</div>
<script src="./script.js"></script>
</body>
</html>