You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hsla color string `hsla(357,100%,44.5%,1)` is malformed.
An hsla color contains hue, saturation, lightness and alpha values, wrapped in `hsl()`, e.g. `hsl(300,10%,50%,0.25)`.
this error message is funny as it is wrong as well. should be wrapped in 'hsla()',
as the validation regex is checking for hsla: preg_match('/^ *hsla\( *\d{1,3} *, *\d{1,3}%? *, *\d{1,3}%? *, *[0-1](\.\d{1,2})? *\) *$/i', $string))
Given a value like hsl(221, 11.52%, 32.35%),
Factory::fromString(hsl(221, 11.52%, 32.35%))->toHex();
fails to parse the colour.The text was updated successfully, but these errors were encountered: