Template Usage
Output the color as RGB(A) form:
<div>{{ $entry->color_picker }}</div>
Or generate a swatch like so:
<div class="w-5 h-5" style="background-color: {{ $entry->color_picker }}"></div>
Settings
This field provides the following settings:
Setting | Description |
---|---|
Name |
User-friendly identifier. |
Handle |
Developer-friendly identifier. |
Help Instructions |
Additional instructions written in small print next to the field. |
Transparency |
Whether to include the alpha channel (i.e. Yes or No ) |
Default |
Default color selection (i.e. #000000 ) |