Statamic-SASS
Statamic-SASS copied to clipboard
Bug in SassColour.php
Line 861 "$s = $l > 0.5 ? $d / (2 - $max - $min) : $d / ($max + $min);" must be put in a conditional that checks if ($max+$min) > 0, else an Exception will be thrown when trying to convert the color black to HSL.