src/Color.php
public function toHSL()
    {
        return [
            round($this->hue),
            round($this->saturation),
            round($this->lightness),
        ];
    }
public function toHSL()
    {
        return [
            round($this->hue),
            round($this->saturation),
            round($this->lightness),
        ];
    }
public function toHSL ( ) { return [ round ( $ this -> hue ) , round ( $ this -> saturation ) , round ( $ this -> lightness ) , ] ; }
Outputs the color using the HSL format.

@return array HSL representation of the color
Outputs the color using the HSL format .