We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi everyone,
For example, if I convert #a8a8a8 hex color to Hsl, I do :
Hex::fromString("#a8a8a8")->toHsl()
I've got an error on Spatie\Color::class when delta is zero.
Spatie\Color::class
red, blue and green have same value (0.65882352941176) so $cmin and $cmax have same value
$cmin
$cmax
I think is the strict type on
if ($delta !== 0) {
The text was updated successfully, but these errors were encountered:
We'd accept a PR with tests that fixes this
Sorry, something went wrong.
See #38 :)
Thanks, we'll continue this in the PR
No branches or pull requests
Hi everyone,
For example, if I convert #a8a8a8 hex color to Hsl, I do :
Hex::fromString("#a8a8a8")->toHsl()
I've got an error on
Spatie\Color::class
when delta is zero.red, blue and green have same value (0.65882352941176) so
$cmin
and$cmax
have same valueI think is the strict type on
if ($delta !== 0) {
The text was updated successfully, but these errors were encountered: