1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| <!DOCTYPE html>
| <html>
| <head>
| <meta charset="UTF-8">
| <title>HSL Colors</title>
| <link rel="stylesheet" href="hsl.css" />
| </head>
| <body>
|
| H: <input type="range" min="0" max="360" step="1" id="hue">
|
| <div id="color"></div>
|
| <div id="colorCode"></div>
| <script type="module" src="hsl.js"></script>
| </body>
| </html>
|
|