Color validation extend package for Laravel.
Laravel >=5.5. Other than that, this library has no requirements.
$ composer require x-laravel/validation-color-extend
$this->validate($request, ['theme.background' => 'required|color']);
This package is open source software licensed under the MIT license.