-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (88 loc) · 2.44 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
<title>상헌이의 HSL 색상환표</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- <img src="./img/menu.png" alt="menu" width="50" id="menu" /> -->
<button class="add-color">+</button>
<div class="wrapper">
<canvas class="circle" id="circle" width="250" height="250"></canvas>
<div class="color-circle">
<div class="point" id="point"></div>
</div>
<div class="brightness-board"></div>
<div class="form">
<label for="hue">HUE (색조)</label>
<input
type="range"
id="hue-range"
name="hue"
value="0"
min="0"
max="359"
step="1"
/>
<input type="number" name="hue" value="0" id="hue-input" /><span>
°</span
>
</div>
<div class="form">
<label for="saturation">Saturation (채도)</label>
<input
type="range"
id="saturation-range"
name="saturation"
value="100"
min="0"
max="100"
step="0.1"
/>
<input
type="number"
name="saturation"
value="100"
id="saturation-input"
/><span>%</span>
</div>
<div class="form" style="visibility: hidden;">
<label for="lightness">Lightness (밝기)</label>
<input
type="range"
id="lightness-range"
name="lightness"
value="50"
min="0"
max="100"
step="1"
/>
<input
type="number"
name="lightness"
value="50"
id="lightness-input"
max="100"
/><span>%</span>
</div>
<div class="lightness-change">
<div class="stick"></div>
<canvas class="lightness-canvas" id="lightness" width="300" height="20"></canvas>
</div>
<div class="result">
<div class="result-board" id="0">
<div class="color-board selected"></div>
<div class="result-title">
<input type="text" value="0" name="rgb_value" readonly="true" class="rgb_value"/>
<input type="text" name="text" value="0" class="hex-input" readonly="true"/>
</div>
</div>
</div>
</div>
<script src="./js/commonUtil.js"></script>
<script src="./js/selectController.js"></script>
<script src="./js/dragable2.js"></script>
</body>
</html>