Lines Matching refs:hsl
1186 $hsl = $this->toHSL($color);
1187 $hsl[3] = $this->clamp($hsl[3] - $delta, 100);
1188 return $this->toRGB($hsl);
1194 $hsl = $this->toHSL($color);
1195 $hsl[3] = $this->clamp($hsl[3] + $delta, 100);
1196 return $this->toRGB($hsl);
1202 $hsl = $this->toHSL($color);
1203 $hsl[2] = $this->clamp($hsl[2] + $delta, 100);
1204 return $this->toRGB($hsl);
1210 $hsl = $this->toHSL($color);
1211 $hsl[2] = $this->clamp($hsl[2] - $delta, 100);
1212 return $this->toRGB($hsl);
1218 $hsl = $this->toHSL($color);
1220 $hsl[1] = $hsl[1] + $delta % 360;
1221 if ($hsl[1] < 0) $hsl[1] += 360;
1223 return $this->toRGB($hsl);
1239 $hsl = $this->toHSL($this->assertColor($color));
1240 return round($hsl[1]);
1244 $hsl = $this->toHSL($this->assertColor($color));
1245 return round($hsl[2]);
1249 $hsl = $this->toHSL($this->assertColor($color));
1250 return round($hsl[3]);
1493 $hsl = array('hsl');
1503 $hsl[] = $this->clamp($val, $clamp);
1507 while (count($hsl) < 4) $hsl[] = 0;
1508 return $this->toRGB($hsl);