Color Area
Open a browser-managed color surface and submit the selected color.
HTML
<div class="rl-scope" data-rl-scope>
<div class="rl-field">
<label class="rl-label" for="demo-color-area">Accent color</label>
<input class="rl-input" id="demo-color-area" type="color" name="accent" value="#b9a5ff">
</div>
</div>The platform owns the color area and keyboard behavior. Its available controls depend on the browser.
Use in your app
Copy these tags into your page head once. Serve the files at the paths shown, then add the example’s template to your page.
Page assets
<link rel="stylesheet" href="/mero.css">
<script defer src="/mero.js"></script>