FormsBootstrap
A Laravel library to generate forms based on Laravel Collective Forms & HTML, Boostrap 5 CSS Framework, RichText editor, and Icons provided by FontAwesome. Current version: 3.1.1. Project on GitHub. Project on Packagist. Manages also results inputs of packages DateRangePickerHelper, Uploader, and Tags input. Includes form management and validation. This demosite sources available here.
Color picker
{!! Form::bsColorpicker([
'id' => 'color', //name and id
'labeltext' => 'Color',
'value' => '#ff0000' // value of default color
]) !!}
Output:
<div class="mb-3" id="fg-color">
<label for="color" class="form-label">Color</label>
<input type="color" name="color" value="#ff0000" id="color" class="form-control form-control-color" title="Click to chose a color" />
</div>