Leafo\ScssPhp\Compiler::libDarken PHP Method

libDarken() protected method

protected libDarken ( $args )
    protected function libDarken($args)
    {
        $color = $this->assertColor($args[0]);
        $amount = Util::checkRange('amount', new Range(0, 100), $args[1], '%');
        return $this->adjustHsl($color, 3, -$amount);
    }
Compiler