-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpicker.html
More file actions
42 lines (39 loc) · 1.2 KB
/
picker.html
File metadata and controls
42 lines (39 loc) · 1.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Color Picker</title>
<!-- styles -->
<link rel="stylesheet" href="../Color picker/css/style.css" />
</head>
<body>
<nav>
<div class="nav-center">
<h4>color picker</h4>
<ul class="nav-links">
<li><a href="../Color picker/index.html">Hex</a></li>
<li><a href="../Color picker/picker.html">Picker</a></li>
</ul>
</div>
</nav>
<main>
<div id="container">
<p>Red:</p>
<input type="range" name="red" id="red" min="0" max="255" value="255" oninput="myColor()">
<p>Green:</p>
<input type="range" name="green" id="green" min="0" max="255" value="255" oninput="myColor()">
<p>Blue:</p>
<input type="range" name="blue" id="blue" min="0" max="255" value="255" oninput="myColor()">
<div id="rgbCode">
rgb(255,255,255)
</div>
<div id="hexCode">
#ffffff
</div>
</div>
</main>
<!-- javascript -->
<script src="../Color picker/js/clr_picker.js"></script>
</body>
</html>