Instafilter\Filter::hsl PHP Method

hsl() public method

Imagemagick calls this 'modulate '
public hsl ( integer $hue, integer $saturation, integer $lightness ) : Filter
$hue integer -100 <= hue <= 100. 0 is no change.
$saturation integer -100 <= hue <= 100. 0 is no change.
$lightness integer -100 <= hue <= 100. 0 is no change.
return Filter
    public function hsl($hue = 0, $saturation = 0, $lightness = 0)
    {
        $hue += 100;
        $saturation += 100;
        $lightness += 100;
        $this->imagick()->modulateImage($lightness, $saturation, $hue);
        return $this;
    }