colorjs.io
Version:
Color space agnostic color manipulation library
24 lines (19 loc) • 615 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LCH Colour picker</title>
<meta name="viewport" content="initial-scale=1">
<link rel="stylesheet" href="https://get.mavo.io/mavo.css">
<link rel="stylesheet" href="https://css.land/lch/style.css">
<script src="../../color.js" type="module"></script>
<script src="https://get.mavo.io/mavo.js" defer></script>
</head>
<body>
<main mv-storage="local" mv-app="lchPicker" mv-mode="read">
[self.Color.get('lch', list(50, 50, 50), 1)]
<span property="color"></span>
</main>
<script src="lch.js" type="module"></script>
</body>
</html>