SassScriptFunctions::hsl
Creates a SassColour object from hue, saturation, and lightness.
Uses the algorithm from the {@link http://www.w3.org/TR/css3-colour/#hsl-colour CSS3 spec}.
Signature
public function hsl(
$h,
$s,
$lĀ )
Parameters
$h
ā$s
ā$l
ā
Returns
- new
- SassColour The resulting colour
Errors/Exceptions
-
SassScriptFunctionException
- if saturation or lightness are out of bounds