Lines Matching refs:hsl
1272 $hsl = $this->toHSL($color);
1273 $hsl[3] = $this->clamp($hsl[3] - $delta, 100);
1274 return $this->toRGB($hsl);
1281 $hsl = $this->toHSL($color);
1282 $hsl[3] = $this->clamp($hsl[3] + $delta, 100);
1283 return $this->toRGB($hsl);
1290 $hsl = $this->toHSL($color);
1291 $hsl[2] = $this->clamp($hsl[2] + $delta, 100);
1292 return $this->toRGB($hsl);
1299 $hsl = $this->toHSL($color);
1300 $hsl[2] = $this->clamp($hsl[2] - $delta, 100);
1301 return $this->toRGB($hsl);
1308 $hsl = $this->toHSL($color);
1310 $hsl[1] = $hsl[1] + $delta % 360;
1311 if ($hsl[1] < 0) $hsl[1] += 360;
1313 return $this->toRGB($hsl);
1332 $hsl = $this->toHSL($this->assertColor($color));
1333 return round($hsl[1]);
1338 $hsl = $this->toHSL($this->assertColor($color));
1339 return round($hsl[2]);
1344 $hsl = $this->toHSL($this->assertColor($color));
1345 return round($hsl[3]);
1603 $hsl = array('hsl');
1613 $hsl[] = $this->clamp($val, $clamp);
1617 while (count($hsl) < 4) $hsl[] = 0;
1618 return $this->toRGB($hsl);