-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (50 loc) · 2.18 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
<!DOCTYPE html>
<html lang="pt-br">
<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="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="./public/favicon.png">
<title>Color Generator</title>
</head>
<body>
<div id="resultColor" class="resultColor">
<section>
<input id="rgbaCode" type="text" value="rgb(128, 128, 128, 1)" readonly>
<button type="button" id="copyRgba" class="copy">Copy</button>
</section>
<section>
<input id="hexCode" type="text" value="#808080ff" readonly>
<button type="button" id="copyHex" class="copy">Copy</button>
</section>
</div>
<main class="main">
<main class="content">
<div class="colors">
<div class="contentColor">
<input id="rangeR" class="R" type="range" min="0" max="255" value="128">
<input id="numR" class="numRGBA" type="text" maxlength="3" min="0" max="255" value="128">
</div>
<div class="contentColor">
<input id="rangeG" class="G" type="range" min="0" max="255" value="128">
<input id="numG" class="numRGBA" type="text" maxlength="3" min="0" max="255" value="128">
</div>
<div class="contentColor">
<input id="rangeB" class="B" type="range" min="0" max="255" value="128">
<input id="numB" class="numRGBA" type="text" maxlength="3" min="0" max="255" value="128">
</div>
<div class="contentColor">
<input id="rangeA" class="A" type="range" min="0" max="100" value="50">
<input id="numA" class="numRGBA" type="text" maxlength="3" min="0" max="100" value="0.50" readonly>
</div>
</div>
</main>
</main>
<footer>
<p>Developer by <a href="https://github.com/YoungC0DE">Rafael Anjos</a></p>
<span>YoungC0DE</span>
</footer>
<script src="script.js"></script>
</body>
</html>