webtools/site/hex-color/index.html

38 lines
1 KiB
HTML
Raw Normal View History

2026-01-26 00:02:33 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hex Color Converter - Tools</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
<link rel="stylesheet" href="./style.css">
<script src="./script.js" defer></script>
</head>
<body class="container">
<header>
<hgroup>
<h1>Hex Color Converter</h1>
<p>Convert hex color values to normalized RGB components</p>
</hgroup>
</header>
<main>
<button id="addHexBtn">Add Hex</button>
<table id="colorTable" class="hidden">
<thead>
<tr>
<th>Preview</th>
<th>Hex</th>
<th>Normalized (R, G, B, A)</th>
<th>Action</th>
</tr>
</thead>
<tbody id="colorTableBody">
</tbody>
</table>
<button id="showHiddenBtn" class="hidden secondary">Show Hidden Rows</button>
</main>
</body>
</html>