पेज · Laravilt
ColorPicker
Color selection with formats, alpha, swatches and multiple colors.
Color selection in a popover.
Basic usage
php
Format and alpha
php
Swatches
php
Multiple colors
php
API reference
| Method | Description |
|---|---|
format(string) | hex, rgb or hsl |
alpha(bool) | Alpha channel control |
swatches(array) | Preset colors |
multiple(bool) / minItems() / maxItems() | Multiple colors |
popupPosition(string) | e.g. bottom-start, top, right-end |