Color
class Color (View source)
Methods
output(string $inputName, string|null $value = null, array $options = [])
Creates form fields and JavaScript includes to add a color picker widget.
Details
output(string $inputName, string|null $value = null, array $options = [])
Creates form fields and JavaScript includes to add a color picker widget.
$dh->output('background-color', '#f00');
```.