@@ 474-480 (lines=7) @@ | ||
471 | return $this->converter->toRGB($hsl); |
|
472 | } |
|
473 | ||
474 | public function fadeout($args) |
|
475 | { |
|
476 | list($color, $delta) = $this->compiler->colorArgs($args); |
|
477 | $color[4] = $this->converter->clamp((isset($color[4]) ? $color[4] : 1) - $delta / 100); |
|
478 | ||
479 | return $color; |
|
480 | } |
|
481 | ||
482 | public function fadein($args) |
|
483 | { |
|
@@ 482-488 (lines=7) @@ | ||
479 | return $color; |
|
480 | } |
|
481 | ||
482 | public function fadein($args) |
|
483 | { |
|
484 | list($color, $delta) = $this->compiler->colorArgs($args); |
|
485 | $color[4] = $this->converter->clamp((isset($color[4]) ? $color[4] : 1) + $delta / 100); |
|
486 | ||
487 | return $color; |
|
488 | } |
|
489 | ||
490 | public function hue($color) |
|
491 | { |