Skip to content

Color Field

Enter a six-digit hex value directly in a text field.

View template

Use # followed by six hexadecimal digits.

Validate the format again when the form reaches the server.

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>
Download library and examples ↓