-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
43 lines (38 loc) · 988 Bytes
/
popup.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
<html>
<body style="width: 235px; height: min-content">
<p style="margin-top: 30px; font-weight: bold; text-align: center">
Color Capturer
</p>
<div style="margin-top: 10px">
<p id="description">You will see your hex color code here</p>
<div
style="
display: flex;
justify-content: space-around;
align-items: center;
"
>
<p
id="colorCode"
style="border: 1px solid gray; border-radius: 5px; padding: 5px"
>
Color
</p>
<button
id="copyColorClipboard"
style="
border: 1px solid gray;
border-radius: 5px;
padding: 5px;
height: 30px;
"
>
Copy color
</button>
</div>
<p id="result">Please click the box to pick color</p>
<input type="color" id="input" />
</div>
<script src="popup.js"></script>
</body>
</html>