Lines Matching refs:hsl
1191 $hsl = $this->toHSL($color);
1192 $hsl[3] = $this->clamp($hsl[3] - $delta, 100);
1193 return $this->toRGB($hsl);
1199 $hsl = $this->toHSL($color);
1200 $hsl[3] = $this->clamp($hsl[3] + $delta, 100);
1201 return $this->toRGB($hsl);
1207 $hsl = $this->toHSL($color);
1208 $hsl[2] = $this->clamp($hsl[2] + $delta, 100);
1209 return $this->toRGB($hsl);
1215 $hsl = $this->toHSL($color);
1216 $hsl[2] = $this->clamp($hsl[2] - $delta, 100);
1217 return $this->toRGB($hsl);
1223 $hsl = $this->toHSL($color);
1225 $hsl[1] = $hsl[1] + $delta % 360;
1226 if ($hsl[1] < 0) $hsl[1] += 360;
1228 return $this->toRGB($hsl);
1244 $hsl = $this->toHSL($this->assertColor($color));
1245 return round($hsl[1]);
1249 $hsl = $this->toHSL($this->assertColor($color));
1250 return round($hsl[2]);
1254 $hsl = $this->toHSL($this->assertColor($color));
1255 return round($hsl[3]);
1498 $hsl = array('hsl');
1508 $hsl[] = $this->clamp($val, $clamp);
1512 while (count($hsl) < 4) $hsl[] = 0;
1513 return $this->toRGB($hsl);