/** * Get color in HSL. * * @return HSL */ public function toHSL() { return new HSL(...RGBtoHSL(...C256toRGB($this->code()))); }
/** * Get color in HSL. * * @return HSL */ public function toHSL() { return new HSL(...RGBtoHSL(...$this->rgb())); }