-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (32 loc) · 1.34 KB
/
index.html
File metadata and controls
38 lines (32 loc) · 1.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="assets/color-picker.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
<title>Color Picker</title>
</head>
<body>
<div class="section">
<h1>Color Picker</h1>
<input type="color" id="color-picker">
<div class="color-codes">
<p><label for="hex-value"> Hex: </label><bu class="button-28" id="hex-value"
onclick="hex()">#06020F</bu tton><br></p>
<p><label for="rgb-value"> RGB: </label><button class="button-28" id="rgb-value"
onclick="rgb()">rgb(6,2,15)</button><br></p>
<p><label for="hsl-value"> HSL: </label><button class="button-28" id="hsl-value"
onclick="hsl()">hsl(258,76%,3%)</button></p>
<p>CLick on required code to <br> COPY TO CLIPBOARD</p>
</div>
<footer>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>