Leafo\ScssPhp\Compiler::libSaturation PHP Method

libSaturation() protected method

protected libSaturation ( $args )
    protected function libSaturation($args)
    {
        $color = $this->assertColor($args[0]);
        $hsl = $this->toHSL($color[1], $color[2], $color[3]);
        return new Node\Number($hsl[2], '%');
    }
Compiler