Leafo\ScssPhp\Compiler::libLightness PHP 메소드

libLightness() 보호된 메소드

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